v3.19.3.a.u2

CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 4 - Condensed Consolidating Statements of Cash Flows (Details) - USD ($) $ in Thousands |  | 12 Months Ended
--- | --- | ---
Nov. 26, 2019 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Cash flows from operating activities: |  |  |  |
Net cash provided by (used in) operating activities |  | $ 508,757 | $ 544,207 | $ 406,799
Cash flows from investing activities: |  |  |  |
Capital expenditures |  | (533,568) | (457,452) | (384,638)
Change in accounts payable related to capital expenditures |  | (12,731) | (7,683) | 36,903
Acquisitions |  | 0 | (37,502) | (1,461,719)
Proceeds from Axeon term loan |  | 0 | 0 | 110,000
Proceeds from insurance recoveries |  | 0 | 78,419 | 977
Proceeds from sale or disposition of assets |  | 228,152 | 270,440 | 2,036
Investment in subsidiaries |  | 0 | 0 | 0
Other, net |  | (1,100) | 0 | 0
Net cash (used in) provided by investing activities |  | (319,247) | (153,778) | (1,696,441)
Cash flows from financing activities: |  |  |  |
Debt borrowings |  | 1,458,380 | 1,872,653 | 3,060,100
Debt repayments |  | (1,249,400) | (2,381,776) | (2,487,539)
Proceeds from issuance of Series D preferred units |  | 0 | 590,000 | 0
Payment of issuance costs for Series D preferred units |  | 0 | (34,203) | 0
Proceeds from issuance of other preferred units, net of issuance costs |  | 0 | 0 | 538,560
Proceeds from issuance of common units, net of issuance costs | $ 15,000 | 15,000 | 10,000 | 643,878
Contributions from general partner |  | 0 | 204 | 13,737
Distributions to preferred unitholders |  | (121,693) | (90,670) | (38,833)
Distributions to common unitholders and general partner |  | (258,354) | (300,777) | (446,306)
Cash consideration for Merger (Note 4) |  | 0 | (67,795) | 0
Proceeds from termination of interest rate swaps |  | 0 | 8,048 | 0
Contributions from (distributions to) affiliates |  | 0 | 0 | 0
Net intercompany activity |  | 0 | 0 | 0
Other, net |  | (21,583) | (5,551) | (7,325)
Net cash provided by (used in) financing activities |  | (177,650) | (399,867) | 1,276,272
Effect of foreign exchange rate changes on cash |  | (524) | (1,210) | 1,720
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 11,336 | (10,648) | (11,650)
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 13,644 | 24,292 | 35,942
Cash, cash equivalents and restricted cash as of the end of the period |  | 24,980 | 13,644 | 24,292
Eliminations |  |  |  |
Cash flows from operating activities: |  |  |  |
Net cash provided by (used in) operating activities |  | (570,090) | (694,859) | (737,138)
Cash flows from investing activities: |  |  |  |
Capital expenditures |  | 0 | 0 | 0
Change in accounts payable related to capital expenditures |  | 0 | 0 | 0
Acquisitions |  |  | 0 | 0
Proceeds from Axeon term loan |  |  |  | 0
Proceeds from insurance recoveries |  |  | 0 | 0
Proceeds from sale or disposition of assets |  | 0 | 0 | 0
Investment in subsidiaries |  | 11,999 | 2,529,840 | 1,262,126
Other, net |  | 0 |  |
Net cash (used in) provided by investing activities |  | 11,999 | 2,529,840 | 1,262,126
Cash flows from financing activities: |  |  |  |
Debt borrowings |  | 0 | 0 | 0
Debt repayments |  | 0 | 0 | 0
Proceeds from issuance of Series D preferred units |  |  | 0 |
Payment of issuance costs for Series D preferred units |  |  | 0 |
Proceeds from issuance of other preferred units, net of issuance costs |  |  |  | 0
Proceeds from issuance of common units, net of issuance costs |  | 0 | 0 | 0
Contributions from general partner |  |  | 0 | 0
Distributions to preferred unitholders |  | 182,546 | 136,007 | 58,251
Distributions to common unitholders and general partner |  | 387,544 | 451,184 | 669,482
Cash consideration for Merger (Note 4) |  |  | 0 |
Proceeds from termination of interest rate swaps |  |  | 0 |
Contributions from (distributions to) affiliates |  | (11,999) | (2,422,172) | (1,252,721)
Net intercompany activity |  | 0 | 0 | 0
Other, net |  | 0 | 0 | 0
Net cash provided by (used in) financing activities |  | 558,091 | (1,834,981) | (524,988)
Effect of foreign exchange rate changes on cash |  | 0 | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 0 | 0 | 0
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 0 | 0 | 0
Cash, cash equivalents and restricted cash as of the end of the period |  | 0 | 0 | 0
Parent Company Guarantor [Member] | NuStar Energy | Reportable Legal Entities [Member] |  |  |  |
Cash flows from operating activities: |  |  |  |
Net cash provided by (used in) operating activities |  | 376,999 | 444,233 | 483,481
Cash flows from investing activities: |  |  |  |
Capital expenditures |  | 0 | 0 | 0
Change in accounts payable related to capital expenditures |  | 0 | 0 | 0
Acquisitions |  |  | 0 | 0
Proceeds from Axeon term loan |  |  |  | 0
Proceeds from insurance recoveries |  |  | 0 | 0
Proceeds from sale or disposition of assets |  | 0 | 0 | 0
Investment in subsidiaries |  | 0 | (708,600) | (1,262,000)
Other, net |  | 0 |  |
Net cash (used in) provided by investing activities |  | 0 | (708,600) | (1,262,000)
Cash flows from financing activities: |  |  |  |
Debt borrowings |  | 0 | 0 | 0
Debt repayments |  | 0 | 0 | 0
Proceeds from issuance of Series D preferred units |  |  | 590,000 |
Payment of issuance costs for Series D preferred units |  |  | (34,203) |
Proceeds from issuance of other preferred units, net of issuance costs |  |  |  | 538,560
Proceeds from issuance of common units, net of issuance costs |  | 15,000 | 10,000 | 643,878
Contributions from general partner |  |  | 204 | 13,737
Distributions to preferred unitholders |  | (121,693) | (90,670) | (38,833)
Distributions to common unitholders and general partner |  | (258,354) | (300,777) | (446,306)
Cash consideration for Merger (Note 4) |  |  | (67,936) |
Proceeds from termination of interest rate swaps |  |  | 0 |
Contributions from (distributions to) affiliates |  | 0 | 0 | 0
Net intercompany activity |  | (2,010) | 162,498 | 73,206
Other, net |  | (11,021) | (4,379) | (5,708)
Net cash provided by (used in) financing activities |  | (378,078) | 264,737 | 778,534
Effect of foreign exchange rate changes on cash |  | 0 | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | (1,079) | 370 | 15
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 1,255 | 885 | 870
Cash, cash equivalents and restricted cash as of the end of the period |  | 176 | 1,255 | 885
Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member] |  |  |  |
Cash flows from operating activities: |  |  |  |
Net cash provided by (used in) operating activities |  | 166,005 | 100,385 | 152,101
Cash flows from investing activities: |  |  |  |
Capital expenditures |  | (257,117) | (71,044) | (47,600)
Change in accounts payable related to capital expenditures |  | 1,369 | 11,101 | (1,988)
Acquisitions |  |  | 0 | 0
Proceeds from Axeon term loan |  |  |  | 110,000
Proceeds from insurance recoveries |  |  | 0 | 0
Proceeds from sale or disposition of assets |  | 247 | 2,674 | 1,955
Investment in subsidiaries |  | (11,999) | (1,711,975) | 0
Other, net |  | 0 |  |
Net cash (used in) provided by investing activities |  | (267,500) | (1,769,244) | 62,367
Cash flows from financing activities: |  |  |  |
Debt borrowings |  | 1,415,580 | 1,840,853 | 2,969,400
Debt repayments |  | (1,207,000) | (2,349,476) | (2,400,739)
Proceeds from issuance of Series D preferred units |  |  | 0 |
Payment of issuance costs for Series D preferred units |  |  | 0 |
Proceeds from issuance of other preferred units, net of issuance costs |  |  |  | 0
Proceeds from issuance of common units, net of issuance costs |  | 0 | 0 | 0
Contributions from general partner |  |  | 0 | 0
Distributions to preferred unitholders |  | (60,846) | (45,336) | (19,417)
Distributions to common unitholders and general partner |  | (129,177) | (150,388) | (223,153)
Cash consideration for Merger (Note 4) |  |  | 0 |
Proceeds from termination of interest rate swaps |  |  | 8,048 |
Contributions from (distributions to) affiliates |  | 0 | 599,400 | 1,262,000
Net intercompany activity |  | 101,980 | 1,766,881 | (1,801,218)
Other, net |  | (10,281) | (1,101) | (1,317)
Net cash provided by (used in) financing activities |  | 110,256 | 1,668,881 | (214,444)
Effect of foreign exchange rate changes on cash |  | 0 | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 8,761 | 22 | 24
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 51 | 29 | 5
Cash, cash equivalents and restricted cash as of the end of the period |  | 8,812 | 51 | 29
Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member] |  |  |  |
Cash flows from operating activities: |  |  |  |
Net cash provided by (used in) operating activities |  | 126,728 | 179,512 | 102,405
Cash flows from investing activities: |  |  |  |
Capital expenditures |  | (28,592) | (19,152) | (35,041)
Change in accounts payable related to capital expenditures |  | 1,212 | (5,161) | 5,964
Acquisitions |  |  | (37,502) | 0
Proceeds from Axeon term loan |  |  |  | 0
Proceeds from insurance recoveries |  |  | 0 | 0
Proceeds from sale or disposition of assets |  | 90 | 31 | 18
Investment in subsidiaries |  | 0 | (54,600) | 0
Other, net |  | 0 |  |
Net cash (used in) provided by investing activities |  | (27,290) | (116,384) | (29,059)
Cash flows from financing activities: |  |  |  |
Debt borrowings |  | 0 | 0 | 0
Debt repayments |  | 0 | 0 | 0
Proceeds from issuance of Series D preferred units |  |  | 0 |
Payment of issuance costs for Series D preferred units |  |  | 0 |
Proceeds from issuance of other preferred units, net of issuance costs |  |  |  | 0
Proceeds from issuance of common units, net of issuance costs |  | 0 | 0 | 0
Contributions from general partner |  |  | 0 | 0
Distributions to preferred unitholders |  | (60,847) | (45,336) | (19,416)
Distributions to common unitholders and general partner |  | (129,177) | (150,388) | (223,153)
Cash consideration for Merger (Note 4) |  |  | 0 |
Proceeds from termination of interest rate swaps |  |  | 0 |
Contributions from (distributions to) affiliates |  | 0 | 54,600 | 0
Net intercompany activity |  | 90,734 | 77,996 | 169,223
Other, net |  | (148) | 0 | 0
Net cash provided by (used in) financing activities |  | (99,438) | (63,128) | (73,346)
Effect of foreign exchange rate changes on cash |  | 0 | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 0 | 0 | 0
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 0 | 0 | 0
Cash, cash equivalents and restricted cash as of the end of the period |  | 0 | 0 | 0
Non-Guarantor Subsidiaries | Reportable Legal Entities [Member] |  |  |  |
Cash flows from operating activities: |  |  |  |
Net cash provided by (used in) operating activities |  | 409,115 | 514,936 | 405,950
Cash flows from investing activities: |  |  |  |
Capital expenditures |  | (247,859) | (367,256) | (301,997)
Change in accounts payable related to capital expenditures |  | (15,312) | (13,623) | 32,927
Acquisitions |  |  | 0 | (1,461,719)
Proceeds from Axeon term loan |  |  |  | 0
Proceeds from insurance recoveries |  |  | 78,419 | 977
Proceeds from sale or disposition of assets |  | 227,815 | 267,735 | 63
Investment in subsidiaries |  | 0 | (54,665) | (126)
Other, net |  | (1,100) |  |
Net cash (used in) provided by investing activities |  | (36,456) | (89,390) | (1,729,875)
Cash flows from financing activities: |  |  |  |
Debt borrowings |  | 42,800 | 31,800 | 90,700
Debt repayments |  | (42,400) | (32,300) | (86,800)
Proceeds from issuance of Series D preferred units |  |  | 0 |
Payment of issuance costs for Series D preferred units |  |  | 0 |
Proceeds from issuance of other preferred units, net of issuance costs |  |  |  | 0
Proceeds from issuance of common units, net of issuance costs |  | 0 | 0 | 0
Contributions from general partner |  |  | 0 | 0
Distributions to preferred unitholders |  | (60,853) | (45,335) | (19,418)
Distributions to common unitholders and general partner |  | (129,190) | (150,408) | (223,176)
Cash consideration for Merger (Note 4) |  |  | 141 |
Proceeds from termination of interest rate swaps |  |  | 0 |
Contributions from (distributions to) affiliates |  | 11,999 | 1,768,172 | (9,279)
Net intercompany activity |  | (190,704) | (2,007,375) | 1,558,789
Other, net |  | (133) | (71) | (300)
Net cash provided by (used in) financing activities |  | (368,481) | (435,376) | 1,310,516
Effect of foreign exchange rate changes on cash |  | (524) | (1,210) | 1,720
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 3,654 | (11,040) | (11,689)
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 12,338 | 23,378 | 35,067
Cash, cash equivalents and restricted cash as of the end of the period |  | $ 15,992 | $ 12,338 | $ 23,378

X
- Definition Cash Consideration for Merger + References No definition available. + Details
Name: | ns_CashConsiderationforMerger
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Contributions from (distributions to) subsidiaries and/or parent + References No definition available. + Details
Name: | ns_ContributionsFromDistributionsToAffiliates
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Investments In Subsidiaries + References No definition available. + Details
Name: | ns_InvestmentInSubsidiaries
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Proceeds (payment) from the termination of interest rate swap agreements. + References No definition available. + Details
Name: | ns_ProceedsPaymentFromTerminationOfInterestRateSwaps
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586 + Details
Name: | us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585 + Details
Name: | us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect
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://fasb.org/us-gaap/role/ref/legacyRef -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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-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 (inflow) outflow from investing activities classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585 + Details
Name: | us-gaap_PaymentsForProceedsFromOtherInvestingActivities
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 common shareholders of the parent entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&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 cost incurred directly with the issuance of an equity security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfStockIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118932676&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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 21B -URI http://asc.fasb.org/extlink&oid=118932676&loc=SL94080549-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-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 from the issuance of common limited partners units during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonLimitedPartnersUnits
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + 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 issuance of preferred limited partners units during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfPreferredLimitedPartnersUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from issuance of callable preferred stock which is identified as being convertible to another type of financial security at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from the capital received in cash from a partner in a partnership during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromPartnershipContribution
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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118932676&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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ConsolidationItemsAxis=srt_ConsolidationEliminationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_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: | srt_ConsolidationItemsAxis=srt_ReportableLegalEntitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_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: | srt_ConsolidatedEntitiesAxis=srt_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: | srt_ConsolidatedEntitiesAxis=srt_NonGuarantorSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |