Annual report pursuant to Section 13 and 15(d)

Debt - CorEnergy Credit Facilities (Details)

v3.20.4
Debt - CorEnergy Credit Facilities (Details) - USD ($)
3 Months Ended 12 Months Ended
Jul. 28, 2017
Mar. 31, 2021
Dec. 31, 2020
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Jul. 08, 2015
Nov. 24, 2014
Line of Credit Facility [Line Items]                              
Amount of outstanding borrowings     $ 118,050,000       $ 156,036,000       $ 118,050,000 $ 156,036,000      
Long-term debt outstanding     115,008,130       152,109,426       115,008,130 152,109,426      
Deferred debt financing costs, net     0       158,070       0 158,070      
Gain (loss) on extinguishment of debt     0 $ 0 $ 11,549,968 $ 0 0 $ (28,920,834) $ 0 $ (5,039,731) 11,549,968 (33,960,565) $ 0    
Line of Credit                              
Line of Credit Facility [Line Items]                              
Face amount                           $ 153,000,000.0  
Line of Credit | Revolving Credit Facility                              
Line of Credit Facility [Line Items]                              
Face amount                           105,000,000.0  
Line of Credit | Amended and Restated CorEnergy Credit Facility                              
Line of Credit Facility [Line Items]                              
Face amount $ 161,000,000.0                            
Debt instrument term 5 years                            
Amortization of debt issuance costs                         2,900,000    
Line of Credit | Amended and Restated CorEnergy Credit Facility | Minimum | LIBOR                              
Line of Credit Facility [Line Items]                              
Basis spread on variable rate 2.75%                            
Line of Credit | Amended and Restated CorEnergy Credit Facility | Maximum | LIBOR                              
Line of Credit Facility [Line Items]                              
Basis spread on variable rate 3.75%                            
Line of Credit | CorEnergy Credit Facility                              
Line of Credit Facility [Line Items]                              
Deferred debt financing costs, net $ 1,800,000                       1,300,000    
Amortization of debt issuance costs                         $ 1,600,000    
Line of Credit | CorEnergy Credit Facility | Subsequent event                              
Line of Credit Facility [Line Items]                              
Gain (loss) on extinguishment of debt   $ (857,000)                          
Line of Credit | CorEnergy Revolver | Revolving Credit Facility                              
Line of Credit Facility [Line Items]                              
Face amount 160,000,000                            
Remaining borrowing capacity     0               0        
Amount of outstanding borrowings     0       0       0 0      
Line of Credit | MoGas Revolver | Revolving Credit Facility                              
Line of Credit Facility [Line Items]                              
Face amount 1,000,000                           $ 3,000,000.0
Maximum borrowing capacity     1,000,000.0               1,000,000.0        
Amount of outstanding borrowings     0       $ 0       0 $ 0      
Line of Credit | MoGas Revolver | Amended and Restated CorEnergy Credit Facility                              
Line of Credit Facility [Line Items]                              
Remaining borrowing capacity $ 1,000,000.0                            
Long-term debt outstanding     $ 0               $ 0        
Line of Credit | Parent Company | Term Loan                              
Line of Credit Facility [Line Items]                              
Face amount                           45,000,000.0  
Line of Credit | Subsidiaries | Revolving Credit Facility                              
Line of Credit Facility [Line Items]                              
Face amount                           $ 3,000,000.0