<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>11800 - Disclosure - TRANSACTIONS WITH RELATED PARTIES AND AFFILIATES</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>FYp0YTD</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001415921</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2013-01-01T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="6 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>us-gaap_RelatedPartyTransactionsAbstract</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>TRANSACTIONS WITH RELATED PARTIES AND AFFILIATES [Abstract]</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>us-gaap_RelatedPartyTransactionsDisclosureTextBlock</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole>terseLabel</PreferredLabelRole><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="FYp0YTD" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;b&gt;NOTE 13 - TRANSACTIONS WITH RELATED PARTIES AND AFFILIATES&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;b&gt;Management fees:&lt;/b&gt; Pursuant to the management agreement dated November&amp;#160;16, 2007, which was revised in October&amp;#160;2009, the Manager, a wholly owned subsidiary of Navios Holdings, provides commercial and technical management services to Navios Partners' vessels for a daily fee of: (a)&amp;#160;$4.5 daily rate per Ultra-Handymax vessel; (b)&amp;#160;$4.4 daily rate per Panamax vessel; and (c)&amp;#160;$5.5 daily rate per Capesize vessel for the two-year period that ended on November&amp;#160;16, 2011. In October&amp;#160;2011, Navios Partners extended the duration of its existing Management Agreement with the Manager until December&amp;#160;31, 2017 and fixed the rate for shipmanagement services of its owned fleet through December&amp;#160;31, 2013. The new management fees are: (a)&amp;#160;$4.65 daily rate per Ultra-Handymax vessel; (b)&amp;#160;$4.55 daily rate per Panamax vessel; and (c)&amp;#160;$5.65 daily rate per Capesize vessel.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;This daily fee covers all of the vessels' operating expenses, including the cost of dry dock and special surveys. Total management fees for the three and six month period ended June&amp;#160;30, 2013 amounted to $8,586 and $17,077, respectively. Total management fees for the three and six month periods ended June&amp;#160;30, 2012 amounted to $7,323 and $14,557, respectively.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;b&gt;General and administrative expenses:&lt;/b&gt; Pursuant to the administrative services agreement dated November&amp;#160;16, 2007, the Manager also provides administrative services to Navios Partners, which include bookkeeping, audit and accounting services, legal and insurance services, administrative and clerical services, banking and financial services, advisory services, client and investor relations and other. The Manager is reimbursed for reasonable costs and expenses incurred in connection with the provision of these services. Navios Partners extended the duration of its existing Administrative Services Agreement with the Manager pursuant to the same terms, until December&amp;#160;31, 2017.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;Total general and administrative expenses charged by Navios Holdings for the three and six month periods ended June&amp;#160;30, 2013 amounted to $1,050 and $2,100, respectively. Total general and administrative expenses charged by Navios Holdings for the three and six month periods ended June&amp;#160;30, 2012 amounted to $909 and $1,809, respectively.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;b&gt;Balance due to related parties:&lt;/b&gt; Included in the current liabilities as of June&amp;#160;30, 2013 was an amount of $14,925, which represented the current account payable to Navios Holdings and its subsidiaries. The balance mainly consisted of the management fees outstanding amounting to $14,153 and administrative service fees and other payables amounting to $772. Amounts due to related parties as of December&amp;#160;31, 2012 was $21,748.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;b&gt;Vessel Chartering:&lt;/b&gt; In February 2012, Navios Partners entered into a charter with a subsidiary of Navios Holdings for the Navios Apollon. The term of this charter is approximately two years commencing in February 2012, at a daily rate of $12.5 net per day for the first year and $13.5 net per day for the second year, plus 50/50 profit sharing based on actual earnings. For this charter, for three and six months ended June&amp;#160;30, 2013 the total revenue of Navios Partners from Navios Holdings amounted to $1,189 and $2,217, respectively. For this charter, for three and six months ended June&amp;#160;30, 2012 the total revenue of Navios Partners from Navios Holdings amounted to $1,189 and $1,660, respectively.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt; &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;In May 2012, Navios Partners entered into a charter with a subsidiary of Navios Holdings for the Navios Prosperity. The term of this charter is approximately one year with two six-month extension options granted to Navios Holdings, commencing in May 2012, at a daily rate of $12 net per day plus profit sharing the first $1.5 in profits above the base rate and thereafter all profits will be split 50% to each party. For this charter, for the three and six months ended June 30, 2013, the total revenue of Navios Partners from Navios Holdings amounted to $1,098 and $2,173, respectively. For this charter, for the three and six months ended June 30, 2012, the total revenue of Navios Partners from Navios Holdings amounted to $291.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt; &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;In September 2012, Navios Partners entered into a charter with a subsidiary of Navios Holdings for the Navios Libra. The term of this charter is approximately three years commencing in October 2012, at a daily rate of $12 net per day plus 50/50 profit sharing based on actual earnings. For this charter, for the three and six months ended June&amp;#160;30, 2013 the total revenue of Navios Partners from Navios Holdings amounted to $1,095 and $2,228, respectively. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;In May 2013, Navios Partners entered into a charter with a subsidiary of Navios Holdings for the Navios Felicity. The term of this charter is approximately one year commencing in May 2013, at a daily rate of $12 net per day plus 50/50 profit sharing based on actual earnings. For this charter, for the three and six months ended June&amp;#160;30, 2013 the total revenue of Navios Partners from Navios Holdings amounted to $628. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;In May 2013, Navios Partners entered into a charter with a subsidiary of Navios Holdings for the Navios Aldebaran. The term of this charter is approximately six months commencing in June 2013, at a daily rate of $11 net per day plus profit sharing the first $2.5 in profits above the base rate and thereafter all profits will be split 50% to each party. For this charter, for the three and six months ended June&amp;#160;30, 2013 the total revenue of Navios Partners from Navios Holdings amounted to $315. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;/font&gt;&amp;#160;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;&lt;b&gt;Others:&lt;/b&gt; Navios Partners has entered into an Omnibus Agreement with Navios Holdings pursuant to which Navios Holdings and its controlled affiliates (other than us, our general partner and our subsidiaries) generally agreed not to acquire or own Panamax or Capesize drybulk carriers under time charters of three or more years without the consent of our general partner. The Omnibus Agreement, however, contains significant exceptions that allow Navios Holdings or any of its controlled affiliates to compete with us under specified circumstances which could harm our business. In addition, concurrently with the successful consummation of the initial business combination by Navios Maritime Acquisition Corporation, or Navios Acquisition, on May&amp;#160;28, 2010, because of the overlap between Navios Acquisition, Navios Holdings and us, with respect to possible acquisitions under the terms of our Omnibus Agreement, we entered into a business opportunity right of first refusal agreement which provides the types of business opportunities in the marine transportation and logistics industries, we, Navios Holdings and Navios Acquisition must share with the each other.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;On January&amp;#160;1, 2012, in accordance with the terms of the partnership agreement, all of the outstanding subordinated units converted into 7,621,843 shares of common units. On June&amp;#160;29, 2012, in accordance with the terms of the partnership agreement, the outstanding subordinated Series A units converted into 1,000,000 shares of common units. As of June&amp;#160;30, 2013, Navios Holdings held a total of 14,223,763 common units, representing a 23.2% common unit interest in Navios Partners.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font style="font-face: Times New Roman" size="2" color="#000000"&gt;On November&amp;#160;15, 2012, Navios Holdings and Navios Partners entered into an agreement by which Navios Holdings will provide supplemental credit default insurance with a maximum cash payment of $20,000. As of June&amp;#160;30, 2013, the Company has not put forth any claims to Navios Holdings in connection with this supplemental insurance.&lt;/font&gt;&lt;/div&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>The entire disclosure for related party transactions. 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 FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 3

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39603-107864



Reference 2: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 4

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39622-107864



Reference 3: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 1

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864



Reference 4: http://www.xbrl.org/2003/role/presentationRef

 -Publisher SEC

 -Name Regulation S-X (SX)

 -Number 210

 -Section 04

 -Paragraph b

 -Article 3A



Reference 5: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 235

 -SubTopic 10

 -Section S99

 -Paragraph 1

 -Subparagraph (SX 210.4-08.(k))

 -URI http://asc.fasb.org/extlink&amp;oid=6881521&amp;loc=d3e23780-122690



Reference 6: http://www.xbrl.org/2003/role/presentationRef

 -Publisher SEC

 -Name Regulation S-X (SX)

 -Number 210

 -Section 08

 -Paragraph k

 -Article 4



Reference 7: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 6

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39691-107864



Reference 8: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 850

 -SubTopic 10

 -Section 50

 -Paragraph 5

 -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39678-107864



Reference 9: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Statement of Financial Accounting Standard (FAS)

 -Number 57

 -Paragraph 1-4

 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009.  This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.



</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>TRANSACTIONS WITH RELATED PARTIES AND AFFILIATES</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>TRANSACTIONS WITH RELATED PARTIES AND AFFILIATES</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://www.navios-mlp.com/role/TransactionsWithRelatedPartiesAndAffiliates</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
