v3.8.0.1

CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 3 - Condensed Consolidating Statements of Cash Flows (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2018 | Mar. 31, 2017
Cash flows from operating activities: |  |
Net cash provided by operating activities | $ 123,164 | $ 83,980
Cash flows from investing activities: |  |
Capital expenditures | (137,874) | (45,732)
Change in accounts payable related to capital expenditures | (12,018) | (6,820)
Proceeds from sale or disposition of assets | 19 | 1,859
Proceeds from insurance recoveries | 78,419 | 0
Proceeds from Axeon term loan | 0 | 110,000
Net cash provided by (used in) investing activities | (71,454) | 59,307
Cash flows from financing activities: |  |
Debt borrowings | 349,711 | 410,266
Debt repayments | (274,421) | (455,194)
Distributions to preferred unitholders | (16,680) | (5,883)
Distributions to common unitholders and general partner | (115,272) | (99,021)
Net intercompany activity | 0 | 0
Other, net | (4,184) | (2,218)
Net cash used in financing activities | (60,846) | (152,050)
Effect of foreign exchange rate changes on cash | (28) | 26
Net increase (decrease) in cash and cash equivalents | (9,164) | (8,737)
Cash and cash equivalents as of the beginning of the period | 24,292 | 35,942
Cash and cash equivalents as of the end of the period | 15,128 | 27,205
Eliminations [Member] |  |
Cash flows from operating activities: |  |
Net cash provided by operating activities | (197,937) | (157,360)
Cash flows from investing activities: |  |
Capital expenditures | 0 | 0
Change in accounts payable related to capital expenditures | 0 | 0
Proceeds from sale or disposition of assets | 0 | 0
Proceeds from insurance recoveries | 0 |
Proceeds from Axeon term loan |  | 0
Net cash provided by (used in) investing activities | 0 | 0
Cash flows from financing activities: |  |
Debt borrowings | 0 | 0
Debt repayments | 0 | 0
Distributions to preferred unitholders | 25,021 | 8,824
Distributions to common unitholders and general partner | 172,916 | 148,536
Net intercompany activity | 0 | 0
Other, net | 0 | 0
Net cash used in financing activities | 197,937 | 157,360
Effect of foreign exchange rate changes on cash | 0 | 0
Net increase (decrease) in cash and cash equivalents | 0 | 0
Cash and cash equivalents as of the beginning of the period | 0 | 0
Cash and cash equivalents as of the end of the period | 0 | 0
Parent Company Guarantor [Member] | NuStar Energy | Reportable Legal Entities [Member] |  |
Cash flows from operating activities: |  |
Net cash provided by operating activities | 130,847 | 103,517
Cash flows from investing activities: |  |
Capital expenditures | 0 | 0
Change in accounts payable related to capital expenditures | 0 | 0
Proceeds from sale or disposition of assets | 0 | 0
Proceeds from insurance recoveries | 0 |
Proceeds from Axeon term loan |  | 0
Net cash provided by (used in) investing activities | 0 | 0
Cash flows from financing activities: |  |
Debt borrowings | 0 | 0
Debt repayments | 0 | 0
Distributions to preferred unitholders | (16,680) | (5,883)
Distributions to common unitholders and general partner | (115,272) | (99,021)
Net intercompany activity | 2,053 | 3,196
Other, net | (975) | (1,933)
Net cash used in financing activities | (130,874) | (103,641)
Effect of foreign exchange rate changes on cash | 0 | 0
Net increase (decrease) in cash and cash equivalents | (27) | (124)
Cash and cash equivalents as of the beginning of the period | 885 | 870
Cash and cash equivalents as of the end of the period | 858 | 746
Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member] |  |
Cash flows from operating activities: |  |
Net cash provided by operating activities | 16,855 | 35,964
Cash flows from investing activities: |  |
Capital expenditures | (6,815) | (7,671)
Change in accounts payable related to capital expenditures | (1,946) | (4,908)
Proceeds from sale or disposition of assets | 6 | 1,833
Proceeds from insurance recoveries | 0 |
Proceeds from Axeon term loan |  | 110,000
Net cash provided by (used in) investing activities | (8,755) | 99,254
Cash flows from financing activities: |  |
Debt borrowings | 348,411 | 404,166
Debt repayments | (268,621) | (451,694)
Distributions to preferred unitholders | (8,341) | (2,941)
Distributions to common unitholders and general partner | (57,636) | (49,511)
Net intercompany activity | (18,769) | (34,952)
Other, net | (3,147) | (285)
Net cash used in financing activities | (8,103) | (135,217)
Effect of foreign exchange rate changes on cash | 0 | 0
Net increase (decrease) in cash and cash equivalents | (3) | 1
Cash and cash equivalents as of the beginning of the period | 29 | 5
Cash and cash equivalents as of the end of the period | 26 | 6
Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member] |  |
Cash flows from operating activities: |  |
Net cash provided by operating activities | 25,112 | 23,855
Cash flows from investing activities: |  |
Capital expenditures | (2,440) | (1,761)
Change in accounts payable related to capital expenditures | (5,700) | (1,103)
Proceeds from sale or disposition of assets | 4 | 6
Proceeds from insurance recoveries | 0 |
Proceeds from Axeon term loan |  | 0
Net cash provided by (used in) investing activities | (8,136) | (2,858)
Cash flows from financing activities: |  |
Debt borrowings | 0 | 0
Debt repayments | 0 | 0
Distributions to preferred unitholders | (8,340) | (2,941)
Distributions to common unitholders and general partner | (57,635) | (49,511)
Net intercompany activity | 48,999 | 31,455
Other, net | 0 | 0
Net cash used in financing activities | (16,976) | (20,997)
Effect of foreign exchange rate changes on cash | 0 | 0
Net increase (decrease) in cash and cash equivalents | 0 | 0
Cash and cash equivalents as of the beginning of the period | 0 | 0
Cash and cash equivalents as of the end of the period | 0 | 0
Non-Guarantor Subsidiaries [Member] | Reportable Legal Entities [Member] |  |
Cash flows from operating activities: |  |
Net cash provided by operating activities | 148,287 | 78,004
Cash flows from investing activities: |  |
Capital expenditures | (128,619) | (36,300)
Change in accounts payable related to capital expenditures | (4,372) | (809)
Proceeds from sale or disposition of assets | 9 | 20
Proceeds from insurance recoveries | 78,419 |
Proceeds from Axeon term loan |  | 0
Net cash provided by (used in) investing activities | (54,563) | (37,089)
Cash flows from financing activities: |  |
Debt borrowings | 1,300 | 6,100
Debt repayments | (5,800) | (3,500)
Distributions to preferred unitholders | (8,340) | (2,942)
Distributions to common unitholders and general partner | (57,645) | (49,514)
Net intercompany activity | (32,283) | 301
Other, net | (62) | 0
Net cash used in financing activities | (102,830) | (49,555)
Effect of foreign exchange rate changes on cash | (28) | 26
Net increase (decrease) in cash and cash equivalents | (9,134) | (8,614)
Cash and cash equivalents as of the beginning of the period | 23,378 | 35,067
Cash and cash equivalents as of the end of the period | $ 14,244 | $ 26,453

X
- Definition The increase (decrease) in accounts payable related to capital expenditures that have been incurred but not yet paid. + References No definition available. + Details
Name: | ns_IncreaseDecreaseinAccountsPayableRelatedtoCapitalExpenditures
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net Intercompany Borrowings (Repayments) + References No definition available. + Details
Name: | ns_NetIntercompanyBorrowingsRepayments
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net cash proceeds from (payments for) other types of financing activities. + References No definition available. + Details
Name: | ns_ProceedsFromPaymentsForOtherFinancingActivitiesCondensedFinancialStatements
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3044-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906 + Details
Name: | us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase (decrease) from the effect of exchange rate changes on cash and cash equivalent balances held in foreign currencies. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906 + Details
Name: | us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3574-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3574-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInInvestingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDividendsCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireProductiveAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow associated with the collection, including prepayments, of loans receivable issued for financing of goods and services. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromCollectionOfLoansReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow for proceeds from settlement of insurance claim, classified as investing activities. Excludes insurance settlement classified as operating activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 21B -URI http://asc.fasb.org/extlink&oid=98514028&loc=SL94080549-108585 + Details
Name: | us-gaap_ProceedsFromInsuranceSettlementInvestingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References No definition available. + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from the sale of property, plant and equipment (capital expenditures), software, and other intangible assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfProductiveAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References No definition available. + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_ConsolidationItemsAxis=us-gaap_ConsolidationEliminationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidatedEntitiesAxis=ns_ParentCompanyGuarantorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ns_NustarEnergyLpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidationItemsAxis=us-gaap_ReportableLegalEntitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidatedEntitiesAxis=us-gaap_SubsidiaryIssuerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ns_NustarLogisticsLpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidatedEntitiesAxis=us-gaap_GuarantorSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ns_NustarPipelineOperatingPartnershipLpMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConsolidatedEntitiesAxis=us-gaap_NonGuarantorSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |