v3.19.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2019
Apr. 26, 2019
Document And Entity Information [Abstract]    
Entity Registrant Name Flex Pharma, Inc.  
Entity Central Index Key 0001615219  
Current Fiscal Year End Date --12-31  
Entity Filer Category Non-accelerated Filer  
Document Type 10-Q  
Document Period End Date Mar. 31, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q1  
Amendment Flag false  
Entity Small Business true  
Entity Emerging Growth Company true  
Entity Ex Transition Period true  
Entity Common Stock, Shares Outstanding   18,069,476