v3.20.2

CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 3 - Condensed Consolidating Statements of Cash Flows (Details) - USD ($) $ in Thousands |  | 9 Months Ended
--- | --- | ---
Sep. 14, 2020 | Sep. 30, 2020 | Sep. 30, 2019
Cash flows from operating activities: |  |  |
Net cash provided by operating activities |  | $ 392,859 | $ 354,661
Cash flows from investing activities: |  |  |
Capital expenditures |  | (140,342) | (435,043)
Change in accounts payable related to capital expenditures |  | (15,862) | (12,641)
Proceeds from sale or disposition of assets |  | 5,904 | 314
Proceeds from sale of St. Eustatius operations |  | 0 | 227,709
Investment in subsidiaries |  |  | 0
Other, net |  | 0 | (1,100)
Net cash (used in) provided by investing activities |  | (150,300) | (220,761)
Cash flows from financing activities: |  |  |
Proceeds from note offerings, net of issuance costs | $ 1,183,900 | 1,183,942 | 491,588
Other debt borrowings |  | 1,395,093 | 818,900
Debt repayments |  |  | (1,131,100)
Term Loan repayment, including the debt extinguishment costs |  | (2,462,385) |
Distributions to preferred unitholders |  | (92,734) | (91,269)
Distributions to common unitholders |  | (152,525) | (193,683)
Payments for termination of interest rate swaps |  | (49,225) | 0
Contributions from (distributions to) affiliates |  | 0 | 0
Net intercompany activity |  | 0 | 0
Payment of tax withholding for unit-based compensation |  | (8,821) | (6,578)
Other, net |  | (16,210) | (11,959)
Net cash (used in) provided by financing activities |  | (202,865) | (124,101)
Effect of foreign exchange rate changes on cash |  | (380) | 681
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 39,314 | 10,480
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 24,980 | 13,644
Cash, cash equivalents and restricted cash as of the end of the period |  | 64,294 | 24,124
Eliminations [Member] |  |  |
Cash flows from operating activities: |  |  |
Net cash provided by operating activities |  | (597,987) | (427,443)
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 sale of St. Eustatius operations |  |  | 0
Investment in subsidiaries |  |  | (11,999)
Other, net |  |  | 0
Net cash (used in) provided by investing activities |  | 0 | 11,999
Cash flows from financing activities: |  |  |
Proceeds from note offerings, net of issuance costs |  | 0 | 0
Other debt borrowings |  | 0 | 0
Debt repayments |  |  | 0
Term Loan repayment, including the debt extinguishment costs |  | 0 |
Distributions to preferred unitholders |  | 139,106 | 136,910
Distributions to common unitholders |  | 228,795 | 290,533
Payments for termination of interest rate swaps |  | 0 |
Contributions from (distributions to) affiliates |  | 230,086 | (11,999)
Net intercompany activity |  | 0 | 0
Payment of tax withholding for unit-based compensation |  | 0 | 0
Other, net |  | 0 | 0
Net cash (used in) provided by financing activities |  | 597,987 | 415,444
Effect of foreign exchange rate changes on cash |  | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 0 | 0
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 0 | 0
Cash, cash equivalents and restricted cash 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 |  | 243,088 | 281,988
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 sale of St. Eustatius operations |  |  | 0
Investment in subsidiaries |  |  | 0
Other, net |  |  | 0
Net cash (used in) provided by investing activities |  | 0 | 0
Cash flows from financing activities: |  |  |
Proceeds from note offerings, net of issuance costs |  | 0 | 0
Other debt borrowings |  | 0 | 0
Debt repayments |  |  | 0
Term Loan repayment, including the debt extinguishment costs |  | 0 |
Distributions to preferred unitholders |  | (92,734) | (91,269)
Distributions to common unitholders |  | (152,525) | (193,683)
Payments for termination of interest rate swaps |  | 0 |
Contributions from (distributions to) affiliates |  | 0 | 0
Net intercompany activity |  | 12,816 | 10,025
Payment of tax withholding for unit-based compensation |  | (8,821) | (6,578)
Other, net |  | (1,722) | (1,648)
Net cash (used in) provided by financing activities |  | (242,986) | (283,153)
Effect of foreign exchange rate changes on cash |  | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 102 | (1,165)
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 176 | 1,255
Cash, cash equivalents and restricted cash as of the end of the period |  | 278 | 90
Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member] |  |  |
Cash flows from operating activities: |  |  |
Net cash provided by operating activities |  | 106,852 | 109,849
Cash flows from investing activities: |  |  |
Capital expenditures |  | (40,996) | (215,031)
Change in accounts payable related to capital expenditures |  | (13,198) | 1,539
Proceeds from sale or disposition of assets |  | 392 | 166
Proceeds from sale of St. Eustatius operations |  |  | 0
Investment in subsidiaries |  |  | 11,999
Other, net |  |  | 0
Net cash (used in) provided by investing activities |  | (53,802) | (225,325)
Cash flows from financing activities: |  |  |
Proceeds from note offerings, net of issuance costs |  | 1,183,942 | 491,588
Other debt borrowings |  | 1,365,993 | 790,000
Debt repayments |  |  | (1,097,000)
Term Loan repayment, including the debt extinguishment costs |  | (2,431,585) |
Distributions to preferred unitholders |  | (46,367) | (45,635)
Distributions to common unitholders |  | (76,262) | (96,841)
Payments for termination of interest rate swaps |  | (49,225) |
Contributions from (distributions to) affiliates |  | 0 | 0
Net intercompany activity |  | 49,652 | 92,218
Payment of tax withholding for unit-based compensation |  | 0 | 0
Other, net |  | (13,707) | (10,108)
Net cash (used in) provided by financing activities |  | (17,559) | 124,222
Effect of foreign exchange rate changes on cash |  | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 35,491 | 8,746
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 8,812 | 51
Cash, cash equivalents and restricted cash as of the end of the period |  | 44,303 | 8,797
Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member] |  |  |
Cash flows from operating activities: |  |  |
Net cash provided by operating activities |  | 323,357 | 88,654
Cash flows from investing activities: |  |  |
Capital expenditures |  | (12,671) | (18,451)
Change in accounts payable related to capital expenditures |  | (194) | (878)
Proceeds from sale or disposition of assets |  | 148 | 34
Proceeds from sale of St. Eustatius operations |  |  | 0
Investment in subsidiaries |  |  | 0
Other, net |  |  | 0
Net cash (used in) provided by investing activities |  | (12,717) | (19,295)
Cash flows from financing activities: |  |  |
Proceeds from note offerings, net of issuance costs |  | 0 | 0
Other debt borrowings |  | 0 | 0
Debt repayments |  |  | 0
Term Loan repayment, including the debt extinguishment costs |  | 0 |
Distributions to preferred unitholders |  | (46,367) | (45,635)
Distributions to common unitholders |  | (76,262) | (96,841)
Payments for termination of interest rate swaps |  | 0 |
Contributions from (distributions to) affiliates |  | 0 | 0
Net intercompany activity |  | (187,669) | 73,196
Payment of tax withholding for unit-based compensation |  | 0 | 0
Other, net |  | (342) | (79)
Net cash (used in) provided by financing activities |  | (310,640) | (69,359)
Effect of foreign exchange rate changes on cash |  | 0 | 0
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 0 | 0
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 0 | 0
Cash, cash equivalents and restricted cash 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 |  | 317,549 | 301,613
Cash flows from investing activities: |  |  |
Capital expenditures |  | (86,675) | (201,561)
Change in accounts payable related to capital expenditures |  | (2,470) | (13,302)
Proceeds from sale or disposition of assets |  | 5,364 | 114
Proceeds from sale of St. Eustatius operations |  |  | 227,709
Investment in subsidiaries |  |  | 0
Other, net |  |  | (1,100)
Net cash (used in) provided by investing activities |  | (83,781) | 11,860
Cash flows from financing activities: |  |  |
Proceeds from note offerings, net of issuance costs |  | 0 | 0
Other debt borrowings |  | 29,100 | 28,900
Debt repayments |  |  | (34,100)
Term Loan repayment, including the debt extinguishment costs |  | (30,800) |
Distributions to preferred unitholders |  | (46,372) | (45,640)
Distributions to common unitholders |  | (76,271) | (96,851)
Payments for termination of interest rate swaps |  | 0 |
Contributions from (distributions to) affiliates |  | (230,086) | 11,999
Net intercompany activity |  | 125,201 | (175,439)
Payment of tax withholding for unit-based compensation |  | 0 | 0
Other, net |  | (439) | (124)
Net cash (used in) provided by financing activities |  | (229,667) | (311,255)
Effect of foreign exchange rate changes on cash |  | (380) | 681
Net increase (decrease) in cash, cash equivalents and restricted cash |  | 3,721 | 2,899
Cash, cash equivalents and restricted cash as of the beginning of the period |  | 15,992 | 12,338
Cash, cash equivalents and restricted cash as of the end of the period |  | $ 19,713 | $ 15,237

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 from (payments for) termination of interest rate swap agreements + References No definition available. + Details
Name: | ns_ProceedsFromPaymentsForTerminationOfInterestRateSwaps
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayment of debt and payment for extinguishment costs: The cash outflow to repay long-term debt and the associated extinguishment costs. + References No definition available. + Details
Name: | ns_RepaymentOfDebtAndPaymentForExtinguishmentCosts
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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=121586364&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=121586364&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=121583591&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=121586364&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=121586364&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=121586364&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=121586364&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=121586364&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=121586364&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=120395691&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=121586364&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=121586364&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=121586364&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=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation
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=121586364&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 amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, 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 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromDivestitureOfBusinesses
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=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow from issuance of long-term debt classified as other. + 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 (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt
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=121586364&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=121586364&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: |