v3.8.0.1

CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 2 - Condensed Consolidating Statements of Income (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Condensed Financial Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |
Revenues | $ 450,535 | $ 440,566 | $ 435,488 | $ 487,430 | $ 471,757 | $ 441,418 | $ 437,804 | $ 405,703 | $ 1,814,019 | $ 1,756,682 | $ 2,084,040
Costs and expenses |  |  |  |  |  |  |  |  | 1,477,741 | 1,397,573 | 1,693,336
Operating income (loss) | 74,018 | 91,717 | 73,404 | 97,139 | 85,373 | 87,954 | 91,217 | 94,565 | 336,278 | 359,109 | 390,704
Equity in earnings (loss) of subsidiaries |  |  |  |  |  |  |  |  | 0 | 0 | 0
Interest income (expense), net |  |  |  |  |  |  |  |  | (173,083) | (138,350) | (131,868)
Other income (expense), net |  |  |  |  |  |  |  |  | (5,294) | (58,783) | 61,822
Income (loss) from continuing operations before income tax expense |  |  |  |  |  |  |  |  | 157,901 | 161,976 | 320,658
Income tax (benefit) expense |  |  |  |  |  |  |  |  | 9,937 | 11,973 | 14,712
Income (loss) from continuing operations |  |  |  |  |  |  |  |  | 147,964 | 150,003 | 305,946
Income (loss) from discontinued operations, net of tax |  |  |  |  |  |  |  |  | 0 | 0 | 774
Net income (loss) | $ 25,182 | $ 38,592 | $ 26,250 | $ 57,940 | $ (11,056) | $ 51,141 | $ 52,517 | $ 57,401 | 147,964 | 150,003 | 306,720
Eliminations |  |  |  |  |  |  |  |  |  |  |
Condensed Financial Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  | (1,018) | (1,738) | (2,063)
Costs and expenses |  |  |  |  |  |  |  |  | (1,018) | (1,738) | (2,105)
Operating income (loss) |  |  |  |  |  |  |  |  | 0 | 0 | 42
Equity in earnings (loss) of subsidiaries |  |  |  |  |  |  |  |  | (387,264) | (376,263) | (619,708)
Interest income (expense), net |  |  |  |  |  |  |  |  | 0 | 0 | 0
Other income (expense), net |  |  |  |  |  |  |  |  | 0 | 0 | 0
Income (loss) from continuing operations before income tax expense |  |  |  |  |  |  |  |  | (387,264) | (376,263) | (619,666)
Income tax (benefit) expense |  |  |  |  |  |  |  |  | 0 | 0 | 0
Income (loss) from continuing operations |  |  |  |  |  |  |  |  |  |  | (619,666)
Income (loss) from discontinued operations, net of tax |  |  |  |  |  |  |  |  |  |  | 0
Net income (loss) |  |  |  |  |  |  |  |  | (387,264) | (376,263) | (619,666)
Parent Company Guarantor [Member] | NuStar Energy | Reportable Legal Entities [Member] |  |  |  |  |  |  |  |  |  |  |
Condensed Financial Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  | 0 | 0 | 0
Costs and expenses |  |  |  |  |  |  |  |  | 1,868 | 1,806 | 1,717
Operating income (loss) |  |  |  |  |  |  |  |  | (1,868) | (1,806) | (1,717)
Equity in earnings (loss) of subsidiaries |  |  |  |  |  |  |  |  | 149,775 | 151,794 | 308,437
Interest income (expense), net |  |  |  |  |  |  |  |  | 57 | 0 | 0
Other income (expense), net |  |  |  |  |  |  |  |  | 0 | 18 | 0
Income (loss) from continuing operations before income tax expense |  |  |  |  |  |  |  |  | 147,964 | 150,006 | 306,720
Income tax (benefit) expense |  |  |  |  |  |  |  |  | 0 | 3 | 0
Income (loss) from continuing operations |  |  |  |  |  |  |  |  |  |  | 306,720
Income (loss) from discontinued operations, net of tax |  |  |  |  |  |  |  |  |  |  | 0
Net income (loss) |  |  |  |  |  |  |  |  | 147,964 | 150,003 | 306,720
Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member] |  |  |  |  |  |  |  |  |  |  |
Condensed Financial Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  | 496,454 | 511,650 | 547,959
Costs and expenses |  |  |  |  |  |  |  |  | 317,871 | 302,099 | 293,708
Operating income (loss) |  |  |  |  |  |  |  |  | 178,583 | 209,551 | 254,251
Equity in earnings (loss) of subsidiaries |  |  |  |  |  |  |  |  | (10,616) | (13,769) | (7,257)
Interest income (expense), net |  |  |  |  |  |  |  |  | (176,897) | (139,827) | (137,847)
Other income (expense), net |  |  |  |  |  |  |  |  | 145 | (58,264) | 1,179
Income (loss) from continuing operations before income tax expense |  |  |  |  |  |  |  |  | (8,785) | (2,309) | 110,326
Income tax (benefit) expense |  |  |  |  |  |  |  |  | (820) | 1,607 | (392)
Income (loss) from continuing operations |  |  |  |  |  |  |  |  |  |  | 110,718
Income (loss) from discontinued operations, net of tax |  |  |  |  |  |  |  |  |  |  | 0
Net income (loss) |  |  |  |  |  |  |  |  | (7,965) | (3,916) | 110,718
Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member] |  |  |  |  |  |  |  |  |  |  |
Condensed Financial Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  | 221,125 | 224,966 | 215,469
Costs and expenses |  |  |  |  |  |  |  |  | 146,243 | 150,384 | 140,081
Operating income (loss) |  |  |  |  |  |  |  |  | 74,882 | 74,582 | 75,388
Equity in earnings (loss) of subsidiaries |  |  |  |  |  |  |  |  | 89,405 | 82,202 | 120,768
Interest income (expense), net |  |  |  |  |  |  |  |  | (5,587) | (744) | 1,611
Other income (expense), net |  |  |  |  |  |  |  |  | 3 | (26) | 5
Income (loss) from continuing operations before income tax expense |  |  |  |  |  |  |  |  | 158,703 | 156,014 | 197,772
Income tax (benefit) expense |  |  |  |  |  |  |  |  | 2 | (23) | 23
Income (loss) from continuing operations |  |  |  |  |  |  |  |  |  |  | 197,749
Income (loss) from discontinued operations, net of tax |  |  |  |  |  |  |  |  |  |  | 0
Net income (loss) |  |  |  |  |  |  |  |  | 158,701 | 156,037 | 197,749
Non-Guarantor Subsidiaries | Reportable Legal Entities [Member] |  |  |  |  |  |  |  |  |  |  |
Condensed Financial Statements, Captions [Line Items] |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  | 1,097,458 | 1,021,804 | 1,322,675
Costs and expenses |  |  |  |  |  |  |  |  | 1,012,777 | 945,022 | 1,259,935
Operating income (loss) |  |  |  |  |  |  |  |  | 84,681 | 76,782 | 62,740
Equity in earnings (loss) of subsidiaries |  |  |  |  |  |  |  |  | 158,700 | 156,036 | 197,760
Interest income (expense), net |  |  |  |  |  |  |  |  | 9,344 | 2,221 | 4,368
Other income (expense), net |  |  |  |  |  |  |  |  | (5,442) | (511) | 60,638
Income (loss) from continuing operations before income tax expense |  |  |  |  |  |  |  |  | 247,283 | 234,528 | 325,506
Income tax (benefit) expense |  |  |  |  |  |  |  |  | 10,755 | 10,386 | 15,081
Income (loss) from continuing operations |  |  |  |  |  |  |  |  |  |  | 310,425
Income (loss) from discontinued operations, net of tax |  |  |  |  |  |  |  |  |  |  | 774
Net income (loss) |  |  |  |  |  |  |  |  | $ 236,528 | $ 224,142 | $ 311,199

X
- Definition This item represents net income (loss) from consolidated subsidiaries, which are eliminated when preparing consolidated financial statements. + References No definition available. + Details
Name: | ns_IncomeLossFromSubsidiaries
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Interest income (expense), net, which includes related party interest income + References No definition available. + Details
Name: | ns_Interestincomeexpensenetincludingrelatedparty
Namespace Prefix: | ns_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_CondensedFinancialStatementsCaptionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total costs of sales and operating expenses for the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostsAndExpenses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(10)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(15)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(8)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4569616-111683 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of income (loss) from a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=64827811&loc=SL51721675-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=65878427&loc=SL51721525-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=65878427&loc=SL51721523-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=65878427&loc=d3e957-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=65878427&loc=d3e1012-107759 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=64827811&loc=d3e1361-107760 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=64827811&loc=SL51721673-107760 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4569616-111683 + Details
Name: | us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The net result for the period of deducting operating expenses from operating revenues. + References No definition available. + Details
Name: | us-gaap_OperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SalesRevenueNet
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: |