Annual report pursuant to Section 13 and 15(d)

Document and Entity Information

v3.7.0.1
Document and Entity Information - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2016
Feb. 28, 2017
Jun. 30, 2016
Document and Entity Information [Abstract]      
Entity Registrant Name CODEXIS INC    
Entity Central Index Key 0001200375    
Document Type 10-K    
Document Period End Date Dec. 31, 2016    
Amendment Flag false    
Document Fiscal Year Focus 2016    
Document Fiscal Period Focus FY    
Current Fiscal Year End Date --12-31    
Entity Filer Category Accelerated Filer    
Entity Common Stock, Shares Outstanding   41,382,691  
Entity Well-known Seasoned Issuer No    
Entity Public Float     $ 114.2
Entity Current Reporting Status Yes    
Entity Voluntary Filers No