<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Version>2.2.0.25</Version><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><ReportLongName>11001 - Disclosure - TRANSACTIONS WITH RELATED PARTIES</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelColumn>false</LabelColumn><CurrencyCode>USD</CurrencyCode><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName>1/1/2010 - 12/31/2010
USD ($)

USD ($) / shares

</KeyName><CurrencySymbol>$</CurrencySymbol><contextRef><ContextID>Duration_1_1_2010_To_12_31_2010</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0000798949</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2010-01-01T00:00:00</PeriodStartDate><PeriodEndDate>2010-12-31T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS><UnitProperty><UnitID>Unit12</UnitID><UnitType>Standard</UnitType><StandardMeasure><MeasureSchema>http://www.xbrl.org/2003/iso4217</MeasureSchema><MeasureValue>USD</MeasureValue><MeasureNamespace>iso4217</MeasureNamespace></StandardMeasure><Scale>0</Scale></UnitProperty><UnitProperty><UnitID>Unit13</UnitID><UnitType>Divide</UnitType><NumeratorMeasure><MeasureSchema>http://www.xbrl.org/2003/iso4217</MeasureSchema><MeasureValue>USD</MeasureValue><MeasureNamespace>iso4217</MeasureNamespace></NumeratorMeasure><DenominatorMeasure><MeasureSchema>http://www.xbrl.org/2003/instance</MeasureSchema><MeasureValue>shares</MeasureValue><MeasureNamespace>xbrli</MeasureNamespace></DenominatorMeasure><Scale>0</Scale></UnitProperty><UnitProperty><UnitID>Unit1</UnitID><UnitType>Standard</UnitType><StandardMeasure><MeasureSchema>http://www.xbrl.org/2003/instance</MeasureSchema><MeasureValue>shares</MeasureValue><MeasureNamespace>xbrli</MeasureNamespace></StandardMeasure><Scale>0</Scale></UnitProperty></UPS><CurrencyCode>USD</CurrencyCode><OriginalCurrencyCode>USD</OriginalCurrencyCode></MCU><CurrencySymbol>$</CurrencySymbol><Labels><Label Id="1" Label="12 Months Ended" /><Label Id="2" Label="Dec. 31, 2010" /></Labels></Column></Columns><Rows><Row><Id>2</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><Level>0</Level><ElementName>us-gaap_RelatedPartyTransactionDueFromToRelatedPartyNoncurrentAbstract</ElementName><ElementPrefix>us-gaap</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><ShortDefinition>No definition available.</ShortDefinition><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsSubReportEnd>false</IsSubReportEnd><IsCalendarTitle>false</IsCalendarTitle><IsTuple>false</IsTuple><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole /><FootnoteIndexer /><Cells><Cell><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><NonNumericTextHeader /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios></Cell></Cells><OriginalInstanceReportColumns /><Unit>Other</Unit><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><ElementDefenition>No definition available.</ElementDefenition><IsTotalLabel>false</IsTotalLabel><IsEPS>false</IsEPS><Label>Transactions with Related Parties</Label></Row><Row><Id>3</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><Level>0</Level><ElementName>us-gaap_RelatedPartyTransactionsDisclosureTextBlock</ElementName><ElementPrefix>us-gaap</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><ShortDefinition>No definition available.</ShortDefinition><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsSubReportEnd>false</IsSubReportEnd><IsCalendarTitle>false</IsCalendarTitle><IsTuple>false</IsTuple><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole>terselabel</PreferredLabelRole><FootnoteIndexer /><Cells><Cell><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;div&gt;

&lt;p style="margin-top: 18px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&lt;b&gt;Note 10. Transactions with Related Parties &lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p style="margin-top: 6px; text-indent: 4%; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Unit Petroleum Company serves as the general partner of 16 oil and gas limited partnerships. Three were formed for investment by third parties and 12 (the employee partnerships) were formed to allow certain of our qualified employees and our directors to participate in Unit Petroleum's oil and gas exploration and production operations. The partnerships for the third party investments were formed in 1984 and 1986. Employee partnerships have been formed for each year beginning with 1984. Interests in the employee partnerships were offered to the employees of Unit and its subsidiaries whose annual base compensation was at least a specified amount ($36,000 for 2010, 2009 and 2008) and to the directors of Unit. &lt;/font&gt;&lt;/p&gt;

&lt;p style="margin-top: 12px; margin-bottom: 0px; font-size: 1px;"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p style="margin-top: 0px; text-indent: 4%; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;The employee partnerships formed in 1984 through 1990 were consolidated into a single consolidating partnership in 1993 and the employee partnerships formed in 1991 through 1999 were also consolidated into the consolidating partnership in 2002. The consolidation of the 1991 through the 1999 employee partnerships was done by the general partners under the authority contained in the respective partnership agreements and did not involve any vote, consent or approval by the limited partners. The employee partnerships have each had a set percentage (ranging from 1% to 15%) of our interest in most of the oil and natural gas wells we drill or acquire for our own account during the particular year for which the partnership was formed. The total interest the employees have in our oil and natural gas wells by participating in these partnerships does not exceed one percent. &lt;/font&gt;&lt;/p&gt;

&lt;p style="margin-top: 12px; text-indent: 4%; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Amounts received in the years ended December&amp;nbsp;31, from both public and private Partnerships for which Unit is a general partner are as follows: &lt;/font&gt;&lt;/p&gt;

&lt;p style="margin-top: 0px; margin-bottom: 0px; font-size: 12px;"&gt;&amp;nbsp;&lt;/p&gt;

&lt;table border="0" cellspacing="0" cellpadding="0" width="92%" align="center"&gt;
&lt;tr&gt;&lt;td width="79%"&gt; &lt;/td&gt;
&lt;td valign="bottom" width="4%"&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td valign="bottom" width="4%"&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td valign="bottom" width="4%"&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td style="border-bottom: #000000 1px solid;" valign="bottom" colspan="2" align="center"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="1"&gt;&lt;b&gt;2010&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td style="border-bottom: #000000 1px solid;" valign="bottom" colspan="2" align="center"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="1"&gt;&lt;b&gt;2009&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td style="border-bottom: #000000 1px solid;" valign="bottom" colspan="2" align="center"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="1"&gt;&lt;b&gt;2008&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" colspan="10" align="center"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="1"&gt;&lt;b&gt;(In thousands)&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#cceeff"&gt;&lt;td valign="top"&gt;

&lt;p style="text-indent: -1em; margin-left: 1em;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Contract drilling&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;529&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;368&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;916&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;

&lt;p style="text-indent: -1em; margin-left: 1em;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Well supervision and other fees&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;386&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;352&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;375&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#cceeff"&gt;&lt;td valign="top"&gt;

&lt;p style="text-indent: -1em; margin-left: 1em;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;General and administrative expense reimbursement&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;536&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;376&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font class="_mt" size="1"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" align="right"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;584&lt;/font&gt;&lt;/td&gt;
&lt;td valign="bottom" nowrap="nowrap"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p style="margin-top: 12px; text-indent: 4%; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Related party transactions for contract drilling and well supervision fees are the related party's share of such costs. These costs are billed to related parties on the same basis as billings to unrelated parties for such services. General and administrative reimbursements are both direct general and administrative expense incurred on the related party's behalf and indirect expenses allocated to the related parties. Such allocations are based on the related party's level of activity and are considered by management to be reasonable.&lt;/font&gt;&lt;/p&gt; &lt;/div&gt;</NonNumbericText><NonNumericTextHeader>Note 10. Transactions with Related Parties

Unit Petroleum Company serves as the general partner of 16 oil and gas limited partnerships. Three were formed for</NonNumericTextHeader><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios></Cell></Cells><OriginalInstanceReportColumns /><Unit>Other</Unit><ElementDataType>us-types:textBlockItemType</ElementDataType><SimpleDataType>string</SimpleDataType><ElementDefenition>This element may be used for the entire related party transactions disclosure as a single block of text. Disclosure may include:  the nature of the relationship(s), a description of the transactions, the amount of the transactions, the effects of any change in the method of establishing the terms of the transaction from the previous period, stated interest rate, expiration date, terms and manner of settlement per the agreement with the related party, and amounts due to or from related parties. If the entity and one or more other entities are under common ownership or management control and this control affects the operating results or financial position, disclosure includes the nature of the control relationship even if there are no transactions between the entities. Disclosure may also include the aggregate amount of current and deferred tax expense for each statement of earnings presented where the entity is a member of a group that files a consolidated tax return, the amount of any tax related balances due to or from affiliates as of the date of each statement of financial position presented, the principal provisions of the method by which the consolidated amount of current and deferred tax expense is allocated to the members of the group and the nature and effect of any changes in that method. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.</ElementDefenition><ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef
 -Publisher SEC
 -Name Regulation S-X (SX)
 -Number 210
 -Section 04
 -Paragraph b
 -Article 3A

Reference 2: http://www.xbrl.org/2003/role/presentationRef
 -Publisher SEC
 -Name Regulation S-X (SX)
 -Number 210
 -Section 08
 -Paragraph k
 -Article 4

Reference 3: http://www.xbrl.org/2003/role/presentationRef
 -Publisher FASB
 -Name Statement of Financial Accounting Standard (FAS)
 -Number 57
 -Paragraph 1-4

</ElementReferences><IsTotalLabel>false</IsTotalLabel><IsEPS>false</IsEPS><Label>Transactions with Related Parties</Label></Row></Rows><Footnotes /><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows><ReportName>TRANSACTIONS WITH RELATED PARTIES</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>false</HasCustomUnits><SharesShouldBeRounded>true</SharesShouldBeRounded></InstanceReport>
