XML 13 R1.htm IDEA: XBRL DOCUMENT v3.22.1
Cover - USD ($)
12 Months Ended
Dec. 31, 2021
Mar. 28, 2022
Jun. 30, 2021
Cover [Abstract]      
Document Type 10-K    
Amendment Flag false    
Document Annual Report true    
Document Transition Report false    
Document Period End Date Dec. 31, 2021    
Document Fiscal Period Focus FY    
Document Fiscal Year Focus 2021    
Current Fiscal Year End Date --12-31    
Entity File Number 0-30351    
Entity Registrant Name SPI Energy Co., Ltd.    
Entity Central Index Key 0001210618    
Entity Tax Identification Number 20-4956638    
Entity Incorporation, State or Country Code A1    
Entity Address, Address Line One 4677 Old Ironsides Drive, Suite 190    
Entity Address, City or Town Santa Clara    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 95054    
City Area Code (408)    
Local Phone Number 919-8000    
Title of 12(b) Security Ordinary Shares, par value $0.0001 per share    
Trading Symbol SPI    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company false    
Entity Shell Company false    
Entity Public Float     $ 85,932,214
Entity Common Stock, Shares Outstanding   26,376,783  
ICFR Auditor Attestation Flag true    
Auditor Firm ID 5395    
Auditor Name Marcum Bernstein & Pinchuk LLP    
Auditor Location New York, New York