QuickLinks -- Click here to rapidly navigate through this document
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the caption "Experts" and to the use of our report dated December 8, 2014, in the Registration Statement (Form S-1) and related Prospectus of Flex Pharma, Inc. dated December 29, 2014.
/s/ Ernst & Young LLP |
Boston, Massachusetts
December 29, 2014
Consent of Independent Registered Public Accounting Firm