Annual report pursuant to Section 13 and 15(d)

Debt. (Details)

v3.21.1
Debt. (Details) - USD ($)
1 Months Ended 12 Months Ended
May 04, 2020
May 04, 2020
Sep. 15, 2017
Aug. 02, 2022
Dec. 21, 2020
Dec. 18, 2020
Sep. 30, 2020
Dec. 31, 2020
Sep. 20, 2021
Nov. 30, 2020
Nov. 10, 2020
Jun. 26, 2017
Dec. 15, 2016
Dec. 12, 2016
Debt [Abstract]                            
Principal amount                   $ 35,300,000 $ 100,000,000      
Debt default interest rate               2.00%            
Borrowing on credit facility               $ 16,000,000            
Aggregate of debt amount         $ 19,900,000                  
Debt maturity date     Sep. 01, 2022                      
Description of payment made to company               The ICP Credit Facility and related agreements contain a variety of representations, warranties, covenants and events of default. Following a series of amendments and waivers among ICP, its lenders and their agent, certain terms of the agreements are as follows: ●Interest accrues under the ICP Credit Facility at an annual rate equal to the 30-day LIBOR plus 3.75%. ●ICP is required to pay an annual nonrefundable commitment fee, calculated as 0.75% multiplied by the average daily positive difference between (i) the ICP Revolving Loan commitment (which may be reduced by ICP from time to time in increments of $0.5 million), minus (ii) the aggregate principal amounts outstanding under the ICP Revolving Loan. ●ICP and Alto Pekin are collectively required to maintain working capital of not less than 50% of the combined outstanding revolving lines of credit, which was $30.0 million at December 31, 2020; and an annual debt service coverage ratio of not less than 1.50 to 1.00, in addition to various other affirmative and negative covenants.            
Pekin credit facilities, description The Notes and related agreements contain a variety of representations, warranties, covenants and events of default. Following a series of amendments and waivers with the senior secured note holders and their agent, certain terms of the agreements are as follows: ●The Notes mature on December 15, 2021. ●Payments due under the Notes rank senior to all other indebtedness of Alto Ingredients, Inc. other than permitted senior indebtedness. ●Interest on the Notes accrues at a rate of 15% per annum. ●Any voluntary prepayments must made at 102% of the principal amount prepaid.                          
Interest on loan bear 1.00% 1.00%                        
1st Farm Credit Services [Member]                            
Debt [Abstract]                            
Principal amount                         $ 32,000,000  
September Paydown Amount [Member]                            
Debt [Abstract]                            
Aggregate amount             $ 40,000,000              
Aggregate of debt amount             $ 40,000,000              
December Paydown Amount [Member]                            
Debt [Abstract]                            
Aggregate amount               $ 24,900,000            
Aggregate of debt amount           $ 24,900,000                
Kinergy Line of Credit [Member]                            
Debt [Abstract]                            
Description of interest rate       The credit facility is subject to certain other sublimits, including inventory loan limits. Interest accrues under the line of credit at a rate equal to (i) the three-month London Interbank Offered Rate (“LIBOR”), plus (ii) a specified applicable margin ranging between 1.50% and 2.00%. The applicable margin was 2.00%, for a total rate of 2.24% at December 31, 2020. The credit facility’s monthly unused line fee is an annual rate equal to 0.25% to 0.375% depending on the average daily principal balance during the immediately preceding month. Payments that may be made by Kinergy to the Company as reimbursement for management and other services provided by the Company to Kinergy are limited under the terms of the credit facility to $1,500,000 per fiscal quarter. The credit facility also includes the accounts receivable of Alto Nutrients as additional collateral. Payments that may be made by Alto Nutrients to the Company as reimbursement for management and other services provided by the Company to Alto Nutrients are limited under the terms of the credit facility to $500,000 per fiscal quarter.                    
Pacific Ethanol Pekin, Inc [Member] | Line of Credit [Member]                            
Debt [Abstract]                            
Proceeds from Lines of Credit       $ 500,000,000                    
Pekin Credit Facilities [Member]                            
Debt [Abstract]                            
Principal amount                         $ 64,000,000  
Description of interest rate               Following a series of amendments and waivers among Alto Pekin, its lenders and their agent, certain terms of the agreements are as follows: ●Interest accrues under the Pekin Credit Facility at an annual rate equal to the 30-day LIBOR plus 5.00%. ●Alto Pekin is required to pay a monthly fee on any unused portion of the Pekin Revolving Loan at a rate of 0.75% per annum. ●Alto Pekin and ICP are collectively required to maintain working capital of not less than 50% of the combined outstanding revolving lines of credit, which was $30.0 million at December 31, 2020; and an annual debt service coverage ratio of not less than 1.25 to 1.00, in addition to various other affirmative and negative covenants.            
ICP Credit Facilities [Member] | Credit Agreement [Member] | Term Loan [Member]                            
Debt [Abstract]                            
Principal amount     $ 24,000,000                      
Alto Ingredients, Inc [Member]                            
Debt [Abstract]                            
Aggregate of debt amount           19,900,000                
Proceed of loan   $ 6,000,000                        
Alto Ingredients, Inc [Member] | Note Purchase Agreement [Member] | Senior Secured Notes [Member]                            
Debt [Abstract]                            
Principal amount                           $ 55,000,000
Gross proceeds from principal amount percentage                           97.00%
Alto Ingredients, Inc [Member] | Second Note Purchase Agreement [Member} | Senior Secured Notes [Member]                            
Debt [Abstract]                            
Principal amount                       $ 13,900,000    
Gross proceeds from principal amount percentage                       97.00%    
Alto Pekin [Member]                            
Debt [Abstract]                            
Proceed of loan   $ 3,900,000                        
ICP [Member]                            
Debt [Abstract]                            
Aggregate of debt amount         $ 5,000,000 $ 5,000,000                
Forecast [Member] | ICP Credit Facilities [Member] | Credit Agreement [Member] | Subsequent Event [Member] | Term Loan [Member]                            
Debt [Abstract]                            
Principal amount                 $ 18,000,000