v3.8.0.1

CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 4 - Condensed Consolidating Statements of Cash Flows (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Cash flows from operating activities: |  |  |
Net cash provided by (used in) operating activities | $ 406,799 | $ 436,761 | $ 524,937
Cash flows from investing activities: |  |  |
Capital expenditures | (384,638) | (204,358) | (324,808)
Change in accounts payable related to capital expenditures | 36,903 | (11,063) | (3,156)
Acquisitions | (1,461,719) | (95,657) | (142,500)
Proceeds from Axeon term loan | 110,000 | 0 | 0
Proceeds from insurance recoveries | 977 | 0 | 4,867
Proceeds from sale or disposition of assets | 2,036 | 0 | 17,132
Investment in other long-term assets | 0 | 0 | (3,564)
Investment in subsidiaries | 0 | 0 |
Net cash used in investing activities | (1,696,441) | (311,078) | (452,029)
Cash flows from financing activities: |  |  |
Debt borrowings | 3,060,100 | 1,406,729 | 1,683,631
Debt repayments | (2,487,539) | (1,456,152) | (1,316,910)
Proceeds from issuance of preferred units, net of issuance costs | 538,560 | 218,400 | 0
Proceeds from issuance of common units, net of issuance costs | 643,878 | 27,710 | 0
Contributions from general partner | 13,737 | 680 | 0
Distributions to preferred unitholders | (38,833) | 0 | 0
Distributions to common unitholders and general partner | (446,306) | (392,962) | (392,204)
Contributions from (distributions to) affiliates | 0 | 0 |
Net intercompany activity | 0 | 0 | 0
Other, net | (7,325) | (15,729) | (3,746)
Net cash provided by (used in) financing activities | 1,276,272 | (211,324) | (29,229)
Effect of foreign exchange rate changes on cash | 1,720 | 2,721 | (12,729)
Net (decrease) increase in cash and cash equivalents | (11,650) | (82,920) | 30,950
Cash and cash equivalents as of the beginning of the period | 35,942 | 118,862 | 87,912
Cash and cash equivalents as of the end of the period | 24,292 | 35,942 | 118,862
Eliminations |  |  |
Cash flows from operating activities: |  |  |
Net cash provided by (used in) operating activities | (737,138) | (694,011) | (588,326)
Cash flows from investing activities: |  |  |
Capital expenditures | 0 | 0 | 0
Change in accounts payable related to capital expenditures | 0 | 0 | 0
Acquisitions | 0 | 0 | 0
Proceeds from Axeon term loan | 0 |  |
Proceeds from insurance recoveries | 0 |  | 0
Proceeds from sale or disposition of assets | 0 |  | 0
Investment in other long-term assets |  |  | 0
Investment in subsidiaries | 1,262,126 | 212,900 |
Net cash used in investing activities | 1,262,126 | 212,900 | 0
Cash flows from financing activities: |  |  |
Debt borrowings | 0 | 0 | 0
Debt repayments | 0 | 0 | 0
Proceeds from issuance of preferred units, net of issuance costs | 0 | 0 |
Proceeds from issuance of common units, net of issuance costs | 0 | 0 |
Contributions from general partner | 0 | 0 |
Distributions to preferred unitholders | 58,251 |  |
Distributions to common unitholders and general partner | 669,482 | 589,463 | 588,326
Contributions from (distributions to) affiliates | (1,252,721) | (108,352) |
Net intercompany activity | 0 | 0 | 0
Other, net | 0 | 0 | 0
Net cash provided by (used in) financing activities | (524,988) | 481,111 | 588,326
Effect of foreign exchange rate changes on cash | 0 | 0 | 0
Net (decrease) increase in cash and cash equivalents | 0 | 0 | 0
Cash and cash equivalents as of the beginning of the period | 0 | 0 | 0
Cash and cash equivalents 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 | 483,481 | 391,773 | 389,967
Cash flows from investing activities: |  |  |
Capital expenditures | 0 | 0 | 0
Change in accounts payable related to capital expenditures | 0 | 0 | 0
Acquisitions | 0 | 0 | 0
Proceeds from Axeon term loan | 0 |  |
Proceeds from insurance recoveries | 0 |  | 0
Proceeds from sale or disposition of assets | 0 |  | 0
Investment in other long-term assets |  |  | 0
Investment in subsidiaries | (1,262,000) | 0 |
Net cash used in investing activities | (1,262,000) | 0 | 0
Cash flows from financing activities: |  |  |
Debt borrowings | 0 | 0 | 0
Debt repayments | 0 | 0 | 0
Proceeds from issuance of preferred units, net of issuance costs | 538,560 | 218,400 |
Proceeds from issuance of common units, net of issuance costs | 643,878 | 27,710 |
Contributions from general partner | 13,737 | 680 |
Distributions to preferred unitholders | (38,833) |  |
Distributions to common unitholders and general partner | (446,306) | (392,962) | (392,204)
Contributions from (distributions to) affiliates | 0 | 0 |
Net intercompany activity | 73,206 | (241,131) | 2,199
Other, net | (5,708) | (4,485) | 0
Net cash provided by (used in) financing activities | 778,534 | (391,788) | (390,005)
Effect of foreign exchange rate changes on cash | 0 | 0 | 0
Net (decrease) increase in cash and cash equivalents | 15 | (15) | (38)
Cash and cash equivalents as of the beginning of the period | 870 | 885 | 923
Cash and cash equivalents as of the end of the period | 885 | 870 | 885
Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member] |  |  |
Cash flows from operating activities: |  |  |
Net cash provided by (used in) operating activities | 152,101 | 167,900 | 237,780
Cash flows from investing activities: |  |  |
Capital expenditures | (47,600) | (64,334) | (201,388)
Change in accounts payable related to capital expenditures | (1,988) | (10,076) | (4,950)
Acquisitions | 0 | (95,657) | 0
Proceeds from Axeon term loan | 110,000 |  |
Proceeds from insurance recoveries | 0 |  | 0
Proceeds from sale or disposition of assets | 1,955 |  | 10,320
Investment in other long-term assets |  |  | 0
Investment in subsidiaries | 0 | 0 |
Net cash used in investing activities | 62,367 | (170,067) | (196,018)
Cash flows from financing activities: |  |  |
Debt borrowings | 2,969,400 | 1,365,529 | 1,589,131
Debt repayments | (2,400,739) | (1,419,852) | (1,275,910)
Proceeds from issuance of preferred units, net of issuance costs | 0 | 0 |
Proceeds from issuance of common units, net of issuance costs | 0 | 0 |
Contributions from general partner | 0 | 0 |
Distributions to preferred unitholders | (19,417) |  |
Distributions to common unitholders and general partner | (223,153) | (196,481) | (196,102)
Contributions from (distributions to) affiliates | 1,262,000 | 0 |
Net intercompany activity | (1,801,218) | 255,326 | (155,278)
Other, net | (1,317) | (2,354) | (3,605)
Net cash provided by (used in) financing activities | (214,444) | 2,168 | (41,764)
Effect of foreign exchange rate changes on cash | 0 | 0 | 0
Net (decrease) increase in cash and cash equivalents | 24 | 1 | (2)
Cash and cash equivalents as of the beginning of the period | 5 | 4 | 6
Cash and cash equivalents as of the end of the period | 29 | 5 | 4
Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member] |  |  |
Cash flows from operating activities: |  |  |
Net cash provided by (used in) operating activities | 102,405 | 211,816 | 119,928
Cash flows from investing activities: |  |  |
Capital expenditures | (35,041) | (52,637) | (39,533)
Change in accounts payable related to capital expenditures | 5,964 | (285) | 33
Acquisitions | 0 | 0 | 0
Proceeds from Axeon term loan | 0 |  |
Proceeds from insurance recoveries | 0 |  | 0
Proceeds from sale or disposition of assets | 18 |  | 22
Investment in other long-term assets |  |  | 0
Investment in subsidiaries | 0 | (212,900) |
Net cash used in investing activities | (29,059) | (265,822) | (39,478)
Cash flows from financing activities: |  |  |
Debt borrowings | 0 | 0 | 0
Debt repayments | 0 | 0 | 0
Proceeds from issuance of preferred units, net of issuance costs | 0 | 0 |
Proceeds from issuance of common units, net of issuance costs | 0 | 0 |
Contributions from general partner | 0 | 0 |
Distributions to preferred unitholders | (19,416) |  |
Distributions to common unitholders and general partner | (223,153) | (196,481) | (196,102)
Contributions from (distributions to) affiliates | 0 | 0 |
Net intercompany activity | 169,223 | 250,487 | 115,652
Other, net | 0 | 0 | 0
Net cash provided by (used in) financing activities | (73,346) | 54,006 | (80,450)
Effect of foreign exchange rate changes on cash | 0 | 0 | 0
Net (decrease) increase in cash and cash equivalents | 0 | 0 | 0
Cash and cash equivalents as of the beginning of the period | 0 | 0 | 0
Cash and cash equivalents 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 | 405,950 | 359,283 | 365,588
Cash flows from investing activities: |  |  |
Capital expenditures | (301,997) | (87,387) | (83,887)
Change in accounts payable related to capital expenditures | 32,927 | (702) | 1,761
Acquisitions | (1,461,719) | 0 | (142,500)
Proceeds from Axeon term loan | 0 |  |
Proceeds from insurance recoveries | 977 |  | 4,867
Proceeds from sale or disposition of assets | 63 |  | 6,790
Investment in other long-term assets |  |  | (3,564)
Investment in subsidiaries | (126) | 0 |
Net cash used in investing activities | (1,729,875) | (88,089) | (216,533)
Cash flows from financing activities: |  |  |
Debt borrowings | 90,700 | 41,200 | 94,500
Debt repayments | (86,800) | (36,300) | (41,000)
Proceeds from issuance of preferred units, net of issuance costs | 0 | 0 |
Proceeds from issuance of common units, net of issuance costs | 0 | 0 |
Contributions from general partner | 0 | 0 |
Distributions to preferred unitholders | (19,418) |  |
Distributions to common unitholders and general partner | (223,176) | (196,501) | (196,122)
Contributions from (distributions to) affiliates | (9,279) | 108,352 |
Net intercompany activity | 1,558,789 | (264,682) | 37,427
Other, net | (300) | (8,890) | (141)
Net cash provided by (used in) financing activities | 1,310,516 | (356,821) | (105,336)
Effect of foreign exchange rate changes on cash | 1,720 | 2,721 | (12,729)
Net (decrease) increase in cash and cash equivalents | (11,689) | (82,906) | 30,990
Cash and cash equivalents as of the beginning of the period | 35,067 | 117,973 | 86,983
Cash and cash equivalents as of the end of the period | $ 23,378 | $ 35,067 | $ 117,973

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 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 associated with the acquisition of a business, net of the cash acquired from the purchase. + 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 (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash outflow for the purchase of or improvements to tangible or intangible assets, used to produce goods or deliver services, classified as other. + 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_PaymentsToAcquireOtherProductiveAssets
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 from the issuance of common limited partners units during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&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 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 issuance of preferred limited partners units during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&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 the capital received in cash from a partner in a partnership during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=98514028&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://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: |