v3.3.1.900
Document and Entity Information - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2015
Feb. 26, 2016
Jun. 30, 2015
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, 2015    
Amendment Flag false    
Document Fiscal Year Focus 2015    
Document Fiscal Period Focus FY    
Current Fiscal Year End Date --12-31    
Entity Filer Category Accelerated Filer    
Entity Common Stock, Shares Outstanding   40,472,708  
Entity Well-known Seasoned Issuer No    
Entity Public Float     $ 108.2
Entity Current Reporting Status Yes    
Entity Voluntary Filers No