<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilities" xlink:href="flks-20170630.xsd#AccruedExpensesAndOtherCurrentLiabilities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:href="flks-20170630.xsd#AccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:href="flks-20170630.xsd#AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecurities" xlink:href="flks-20170630.xsd#CashEquivalentsAndMarketableSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecuritiesDetails" xlink:href="flks-20170630.xsd#CashEquivalentsAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecuritiesTables" xlink:href="flks-20170630.xsd#CashEquivalentsAndMarketableSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStock" xlink:href="flks-20170630.xsd#CommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStockNarrativeDetails" xlink:href="flks-20170630.xsd#CommonStockNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStockRestrictedCommonStockActivityDetails" xlink:href="flks-20170630.xsd#CommonStockRestrictedCommonStockActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStockTables" xlink:href="flks-20170630.xsd#CommonStockTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:href="flks-20170630.xsd#CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="flks-20170630.xsd#CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="flks-20170630.xsd#CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfComprehensiveLossUnaudited" xlink:href="flks-20170630.xsd#CondensedConsolidatedStatementsOfComprehensiveLossUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:href="flks-20170630.xsd#CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/DocumentAndEntityInformation" xlink:href="flks-20170630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/FairValueMeasurements" xlink:href="flks-20170630.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/FairValueMeasurementsDetails" xlink:href="flks-20170630.xsd#FairValueMeasurementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/FairValueMeasurementsTables" xlink:href="flks-20170630.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/IncomeTaxes" xlink:href="flks-20170630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/IncomeTaxesDetails" xlink:href="flks-20170630.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/Inventory" xlink:href="flks-20170630.xsd#Inventory" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/InventoryDetails" xlink:href="flks-20170630.xsd#InventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/InventoryTables" xlink:href="flks-20170630.xsd#InventoryTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/NetLossPerShare" xlink:href="flks-20170630.xsd#NetLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/NetLossPerShareDetails" xlink:href="flks-20170630.xsd#NetLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/NetLossPerShareTables" xlink:href="flks-20170630.xsd#NetLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/OrganizationAndOperations" xlink:href="flks-20170630.xsd#OrganizationAndOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/OrganizationAndOperationsDetails" xlink:href="flks-20170630.xsd#OrganizationAndOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SegmentInformation" xlink:href="flks-20170630.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SegmentInformationDetails" xlink:href="flks-20170630.xsd#SegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SegmentInformationTables" xlink:href="flks-20170630.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensation" xlink:href="flks-20170630.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationNarrativeDetails" xlink:href="flks-20170630.xsd#StockBasedCompensationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:href="flks-20170630.xsd#StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:href="flks-20170630.xsd#StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationTables" xlink:href="flks-20170630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncements" xlink:href="flks-20170630.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsNarrativeDetails" xlink:href="flks-20170630.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:href="flks-20170630.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecurities" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_68C9E9168405B42F4414379F734C1E7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_68C9E9168405B42F4414379F734C1E7C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9897932AD1B5446546B2379F734C8B28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_68C9E9168405B42F4414379F734C1E7C" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9897932AD1B5446546B2379F734C8B28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9897932AD1B5446546B2379F734C8B28" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9897932AD1B5446546B2379F734C8B28" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_324890D2FCD0D7E5F1CE379F734C2798" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_324890D2FCD0D7E5F1CE379F734C2798" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_9DE05FCAD9ED9A8A878F379F734DACB5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570" xlink:to="loc_us-gaap_CommercialPaperMember_9DE05FCAD9ED9A8A878F379F734DACB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_94A6236EFC0040BED66F379F734D1626" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_660E12778228B9267A95379F734CF570" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_94A6236EFC0040BED66F379F734D1626" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_E59FA930A18C05B300D0379F7352A135" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_E59FA930A18C05B300D0379F7352A135" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_D76497656902AD846CE2379F73520F09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_D76497656902AD846CE2379F73520F09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_3ABFE0FCD70BEF2EEC81379F7352B356" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_3ABFE0FCD70BEF2EEC81379F7352B356" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_4763BAFF1E786E4376F5379F7352DD7D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_AvailableForSaleSecurities_4763BAFF1E786E4376F5379F7352DD7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1_74C01CBBBCA29D318EBC379F735298D9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1_74C01CBBBCA29D318EBC379F735298D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_C0907B50D6B7F1C64FE9379F7352E8C5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_57AA739D41B5AA2B1DC8379F734D05EA" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_C0907B50D6B7F1C64FE9379F7352E8C5" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecuritiesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CommonStock" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CommonStockNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1195E5B22151577E981EF218F6700D42" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1195E5B22151577E981EF218F6700D42" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1D38AFF4DFA55407B98975448EB72C37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1195E5B22151577E981EF218F6700D42" xlink:to="loc_us-gaap_AwardTypeAxis_1D38AFF4DFA55407B98975448EB72C37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_05A3F1B5AC99F22DC2FA790F8FED3F27_6260F1CC507B58168C334FC1EE9DAB12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_1D38AFF4DFA55407B98975448EB72C37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_05A3F1B5AC99F22DC2FA790F8FED3F27_6260F1CC507B58168C334FC1EE9DAB12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3EAF9FC34BB856D2AE6C535408904652" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_1D38AFF4DFA55407B98975448EB72C37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3EAF9FC34BB856D2AE6C535408904652" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_8E2806AC19FD52E898E027D11D1736D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3EAF9FC34BB856D2AE6C535408904652" xlink:to="loc_us-gaap_RestrictedStockMember_8E2806AC19FD52E898E027D11D1736D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_A5D12FAFDD605E09A3D5628E378CA75B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1195E5B22151577E981EF218F6700D42" xlink:to="loc_us-gaap_VestingAxis_A5D12FAFDD605E09A3D5628E378CA75B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_7590D5D5C32C1415E3B3790F8FE8680F_6260F1CC507B58168C334FC1EE9DAB12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_A5D12FAFDD605E09A3D5628E378CA75B" xlink:to="loc_us-gaap_VestingDomain_7590D5D5C32C1415E3B3790F8FE8680F_6260F1CC507B58168C334FC1EE9DAB12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_ECE7B7E3E0355F7F90E0146559B92EBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_A5D12FAFDD605E09A3D5628E378CA75B" xlink:to="loc_us-gaap_VestingDomain_ECE7B7E3E0355F7F90E0146559B92EBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_35AE26057948559BA1D54FDD21BE18A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_ECE7B7E3E0355F7F90E0146559B92EBE" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_35AE26057948559BA1D54FDD21BE18A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_205FC678D51F52ACA35EF6F1D13F3509" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_ECE7B7E3E0355F7F90E0146559B92EBE" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_205FC678D51F52ACA35EF6F1D13F3509" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_311084AE30CA5C80BC23CDC801F3077D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1195E5B22151577E981EF218F6700D42" xlink:to="loc_us-gaap_TitleOfIndividualAxis_311084AE30CA5C80BC23CDC801F3077D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_C81ADEE29A949C8E0DE7790F8FE8B413_6260F1CC507B58168C334FC1EE9DAB12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_311084AE30CA5C80BC23CDC801F3077D" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_C81ADEE29A949C8E0DE7790F8FE8B413_6260F1CC507B58168C334FC1EE9DAB12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_BFA89BC108BC537487FD46B6C0442385" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_311084AE30CA5C80BC23CDC801F3077D" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_BFA89BC108BC537487FD46B6C0442385" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_NonemployeeConsultantsandAdvisersMember" xlink:label="loc_flks_NonemployeeConsultantsandAdvisersMember_195EF87884FB556797CF8D84E2E2C856" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_BFA89BC108BC537487FD46B6C0442385" xlink:to="loc_flks_NonemployeeConsultantsandAdvisersMember_195EF87884FB556797CF8D84E2E2C856" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_5A60612585D85445AE191EAC0965A89D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_5A60612585D85445AE191EAC0965A89D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_B88D9E4C9BAC5404BC657ECCBB5AFA63" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_B88D9E4C9BAC5404BC657ECCBB5AFA63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_45E59FBF1E445062B555AE2B7A5A723E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_45E59FBF1E445062B555AE2B7A5A723E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_2119240AEE815739BB76525757B54B6F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_2119240AEE815739BB76525757B54B6F" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_ProceedsFromSaleOfRestrictedCommonStock" xlink:label="loc_flks_ProceedsFromSaleOfRestrictedCommonStock_0BF7E5D3ED11576CB9DB11CD5EB0B654" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_flks_ProceedsFromSaleOfRestrictedCommonStock_0BF7E5D3ED11576CB9DB11CD5EB0B654" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_F0E4C80AD30956219E8177FF2BA0413C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_F0E4C80AD30956219E8177FF2BA0413C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_A1A5826C0EB65777B819D2B256095C71" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_A1A5826C0EB65777B819D2B256095C71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramPeriodInForce1" xlink:label="loc_us-gaap_StockRepurchaseProgramPeriodInForce1_9BCE455AACA85E298B0944DEE351D3DE" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_StockRepurchaseProgramPeriodInForce1_9BCE455AACA85E298B0944DEE351D3DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_915C31180E855AF3A535E52A8A893C31" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_915C31180E855AF3A535E52A8A893C31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_C9B5318D5BF750F3AA277B3A56A1EB86" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A37C2F72DF2C5E7DAC3CE03DCC57B3B4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_C9B5318D5BF750F3AA277B3A56A1EB86" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CommonStockRestrictedCommonStockActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3774A31E6A2951568E9CA158DAFFA8D9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9344AD0AEC55539CBC8D7FCE4A068DB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3774A31E6A2951568E9CA158DAFFA8D9" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9344AD0AEC55539CBC8D7FCE4A068DB2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_61AAD2FCB4F45CB29E49EC676B1CD4E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9344AD0AEC55539CBC8D7FCE4A068DB2" xlink:to="loc_us-gaap_AwardTypeAxis_61AAD2FCB4F45CB29E49EC676B1CD4E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A995865C2B083D859ED891DC479E393D_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_61AAD2FCB4F45CB29E49EC676B1CD4E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A995865C2B083D859ED891DC479E393D_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1F284FD11C355764B1A8DFE026DEF2AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_61AAD2FCB4F45CB29E49EC676B1CD4E7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1F284FD11C355764B1A8DFE026DEF2AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_6743C7266E795C1A8D3EB212B0F535CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1F284FD11C355764B1A8DFE026DEF2AF" xlink:to="loc_us-gaap_RestrictedStockMember_6743C7266E795C1A8D3EB212B0F535CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_FC730E183F11564BA1D41A9974C69E6B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9344AD0AEC55539CBC8D7FCE4A068DB2" xlink:to="loc_us-gaap_TitleOfIndividualAxis_FC730E183F11564BA1D41A9974C69E6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_0FCE5DE7283C53F2D4A791DC479F9C05_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_FC730E183F11564BA1D41A9974C69E6B" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_0FCE5DE7283C53F2D4A791DC479F9C05_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_017D39455746553AA32A8744362794C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_FC730E183F11564BA1D41A9974C69E6B" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_017D39455746553AA32A8744362794C9" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_NonemployeeConsultantsandAdvisersMember" xlink:label="loc_flks_NonemployeeConsultantsandAdvisersMember_89736F53ADC651BBAC64927EA5B9326F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_017D39455746553AA32A8744362794C9" xlink:to="loc_flks_NonemployeeConsultantsandAdvisersMember_89736F53ADC651BBAC64927EA5B9326F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7A76E4AD888D55F1B9344CF940936870" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3774A31E6A2951568E9CA158DAFFA8D9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7A76E4AD888D55F1B9344CF940936870" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_38B70B96E62F5D0E86AFD09656E5E370" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7A76E4AD888D55F1B9344CF940936870" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_38B70B96E62F5D0E86AFD09656E5E370" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_139B3F97A4215098B6F91E4C5AE1D3DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7A76E4AD888D55F1B9344CF940936870" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_139B3F97A4215098B6F91E4C5AE1D3DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_36CAD93D4AF452B1908D08D9384A4E1C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7A76E4AD888D55F1B9344CF940936870" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_36CAD93D4AF452B1908D08D9384A4E1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_A4360618BDDD5E068B5826759C90FE9F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7A76E4AD888D55F1B9344CF940936870" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_A4360618BDDD5E068B5826759C90FE9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_74C401E8B1BF51F6AC6742693B3A1CE6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3774A31E6A2951568E9CA158DAFFA8D9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_74C401E8B1BF51F6AC6742693B3A1CE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_B71EB90529785C91A31610B3D671F7EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_74C401E8B1BF51F6AC6742693B3A1CE6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_B71EB90529785C91A31610B3D671F7EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7BEDEABC8005509284092637B1629491" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_74C401E8B1BF51F6AC6742693B3A1CE6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7BEDEABC8005509284092637B1629491" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_664F663DFBE25BE9BA908D60A4DBA453" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_74C401E8B1BF51F6AC6742693B3A1CE6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_664F663DFBE25BE9BA908D60A4DBA453" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_12DA964328815278B044EDC10A91CCBB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_74C401E8B1BF51F6AC6742693B3A1CE6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_12DA964328815278B044EDC10A91CCBB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CommonStockTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfComprehensiveLossUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/FairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/FairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_696466757CE9BB0BA5FE9F5FA8E86872" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C90A67C7DBD15DEF71EC9F5FA8E427FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_696466757CE9BB0BA5FE9F5FA8E86872" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C90A67C7DBD15DEF71EC9F5FA8E427FB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D53383503FD995582F699F5FA8E46B65" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C90A67C7DBD15DEF71EC9F5FA8E427FB" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D53383503FD995582F699F5FA8E46B65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_5BEDAB70000D257903B39F5FA8E51410_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D53383503FD995582F699F5FA8E46B65" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5BEDAB70000D257903B39F5FA8E51410_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_5BEDAB70000D257903B39F5FA8E51410" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_D53383503FD995582F699F5FA8E46B65" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5BEDAB70000D257903B39F5FA8E51410" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_B3AF3BEAF06871DBA6E59F5FA8E5D34E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_5BEDAB70000D257903B39F5FA8E51410" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_B3AF3BEAF06871DBA6E59F5FA8E5D34E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8AD8C2DC6C94CF2588289F5FA8E58E82" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C90A67C7DBD15DEF71EC9F5FA8E427FB" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8AD8C2DC6C94CF2588289F5FA8E58E82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8AD8C2DC6C94CF2588289F5FA8E58E82" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8AD8C2DC6C94CF2588289F5FA8E58E82" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_913E89F71CF7DF9C0F7E9F5FA8E61B80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_913E89F71CF7DF9C0F7E9F5FA8E61B80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_BF25F600F66C4271EAE19F5FA8E7D493" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_BF25F600F66C4271EAE19F5FA8E7D493" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_DB743559AAA9257CD3529F5FA8E73568" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9C802F16272ECA896779F5FA8E54A1D" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_DB743559AAA9257CD3529F5FA8E73568" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AE24FD68A83A1D9864B29F5FA8E779CF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_C90A67C7DBD15DEF71EC9F5FA8E427FB" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AE24FD68A83A1D9864B29F5FA8E779CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AE24FD68A83A1D9864B29F5FA8E779CF" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AE24FD68A83A1D9864B29F5FA8E779CF" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_8EB8890A2D6F1137F4B49F5FA8E8433E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_8EB8890A2D6F1137F4B49F5FA8E8433E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_AF666CDCC47B204C2FD59F5FA8E872A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D" xlink:to="loc_us-gaap_CommercialPaperMember_AF666CDCC47B204C2FD59F5FA8E872A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_D3132543581831F0379D9F5FA8E7CF83" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D9A28681D6032940FE549F5FA8E7BD8D" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_D3132543581831F0379D9F5FA8E7CF83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_FDB58CF7615492CD861B9F5FA8E86E11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_696466757CE9BB0BA5FE9F5FA8E86872" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_FDB58CF7615492CD861B9F5FA8E86E11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MarketableSecuritiesAbstract" xlink:label="loc_us-gaap_MarketableSecuritiesAbstract_6F0DBBE8928A706516A79F5FA8E8A68B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_696466757CE9BB0BA5FE9F5FA8E86872" xlink:to="loc_us-gaap_MarketableSecuritiesAbstract_6F0DBBE8928A706516A79F5FA8E8A68B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_E252C18ED66CC8C873B79F5FA8E813AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_6F0DBBE8928A706516A79F5FA8E8A68B" xlink:to="loc_us-gaap_AvailableForSaleSecurities_E252C18ED66CC8C873B79F5FA8E813AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_440A61F7971E065962B29F5FA8E8A396" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_696466757CE9BB0BA5FE9F5FA8E86872" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_440A61F7971E065962B29F5FA8E8A396" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/Inventory" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/InventoryDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/InventoryTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/NetLossPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/NetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_28CC80CCE8AE5E67954FC915685C3CEF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_58139AA307235988B0FE68858A6A27C3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_28CC80CCE8AE5E67954FC915685C3CEF" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_58139AA307235988B0FE68858A6A27C3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_D82052CD10A75EC398F05CAFA627D967" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_58139AA307235988B0FE68858A6A27C3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_D82052CD10A75EC398F05CAFA627D967" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_BB76369062A9099EA21891DC474BBE21_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_D82052CD10A75EC398F05CAFA627D967" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_BB76369062A9099EA21891DC474BBE21_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9F61B1FFB47F52BDB66ECCCAA21D245D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_D82052CD10A75EC398F05CAFA627D967" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9F61B1FFB47F52BDB66ECCCAA21D245D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_2126CE4E229A524F848CE7B40107172F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9F61B1FFB47F52BDB66ECCCAA21D245D" xlink:to="loc_us-gaap_EmployeeStockOptionMember_2126CE4E229A524F848CE7B40107172F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_38659C6ADDCB507AB012BD74B7247A44" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_9F61B1FFB47F52BDB66ECCCAA21D245D" xlink:to="loc_us-gaap_RestrictedStockMember_38659C6ADDCB507AB012BD74B7247A44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_8ADD1DAE51A059AEBB4EC681CAE815A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_28CC80CCE8AE5E67954FC915685C3CEF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_8ADD1DAE51A059AEBB4EC681CAE815A0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/NetLossPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/OrganizationAndOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/OrganizationAndOperationsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SegmentInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_6833AA004A495597858BC0EDEFDE4CEF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D9C17D34BABE5B319B4A5C88EEC8447A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_6833AA004A495597858BC0EDEFDE4CEF" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D9C17D34BABE5B319B4A5C88EEC8447A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_8A2B8A425F47504EB3AE05CEF819D22F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D9C17D34BABE5B319B4A5C88EEC8447A" xlink:to="loc_us-gaap_ConsolidationItemsAxis_8A2B8A425F47504EB3AE05CEF819D22F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_3A195747E8CE3FD251EA017ECA759E18_682E36FB407B51D7900E0C31C71AE633" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_8A2B8A425F47504EB3AE05CEF819D22F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_3A195747E8CE3FD251EA017ECA759E18_682E36FB407B51D7900E0C31C71AE633" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_5540DCED59345CDEBC8F26AD5C407179" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_8A2B8A425F47504EB3AE05CEF819D22F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_5540DCED59345CDEBC8F26AD5C407179" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_FCCEF28D2F705964B42E8D4D8F03852C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_5540DCED59345CDEBC8F26AD5C407179" xlink:to="loc_us-gaap_OperatingSegmentsMember_FCCEF28D2F705964B42E8D4D8F03852C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_B41F4AF86E65592994E93464043DF12A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_5540DCED59345CDEBC8F26AD5C407179" xlink:to="loc_us-gaap_CorporateNonSegmentMember_B41F4AF86E65592994E93464043DF12A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_38078253DD0E5EFB99F1326C6F0B609E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_D9C17D34BABE5B319B4A5C88EEC8447A" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_38078253DD0E5EFB99F1326C6F0B609E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_FAE1C2A9A11D30CDF498017ECA765238_682E36FB407B51D7900E0C31C71AE633" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_38078253DD0E5EFB99F1326C6F0B609E" xlink:to="loc_us-gaap_SegmentDomain_FAE1C2A9A11D30CDF498017ECA765238_682E36FB407B51D7900E0C31C71AE633" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_ADFD5BF3D1875A558FFA4023F7688B8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_38078253DD0E5EFB99F1326C6F0B609E" xlink:to="loc_us-gaap_SegmentDomain_ADFD5BF3D1875A558FFA4023F7688B8C" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_ConsumerOperationsMember" xlink:label="loc_flks_ConsumerOperationsMember_F908A5A24B745AD6999D81D457BA957C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_ADFD5BF3D1875A558FFA4023F7688B8C" xlink:to="loc_flks_ConsumerOperationsMember_F908A5A24B745AD6999D81D457BA957C" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_DrugDevelopmentMember" xlink:label="loc_flks_DrugDevelopmentMember_061DDD562D7B5A1189446D044F7BBAE1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_ADFD5BF3D1875A558FFA4023F7688B8C" xlink:to="loc_flks_DrugDevelopmentMember_061DDD562D7B5A1189446D044F7BBAE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_17E452452A3353E1891B015188CD91FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_6833AA004A495597858BC0EDEFDE4CEF" xlink:to="loc_us-gaap_SalesRevenueNet_17E452452A3353E1891B015188CD91FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeOperating" xlink:label="loc_us-gaap_InterestIncomeOperating_EDE7A25A5E295481AEB6FDDA46E8C99B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_6833AA004A495597858BC0EDEFDE4CEF" xlink:to="loc_us-gaap_InterestIncomeOperating_EDE7A25A5E295481AEB6FDDA46E8C99B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_824AA341C1CF515FB0AE4DF1866B218C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_6833AA004A495597858BC0EDEFDE4CEF" xlink:to="loc_us-gaap_OperatingIncomeLoss_824AA341C1CF515FB0AE4DF1866B218C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SegmentInformationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/StockBasedCompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_54A314185A2B5B35AFC88EC93EC88B2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_54A314185A2B5B35AFC88EC93EC88B2C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_848ADFDEDA065479A6472143A479F0EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_54A314185A2B5B35AFC88EC93EC88B2C" xlink:to="loc_us-gaap_PlanNameAxis_848ADFDEDA065479A6472143A479F0EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_51C31AEA54A86798DFD291DC479257F9_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_848ADFDEDA065479A6472143A479F0EB" xlink:to="loc_us-gaap_PlanNameDomain_51C31AEA54A86798DFD291DC479257F9_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_40D53AFBF6105EF593664AFD37253A20" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_848ADFDEDA065479A6472143A479F0EB" xlink:to="loc_us-gaap_PlanNameDomain_40D53AFBF6105EF593664AFD37253A20" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_FlexPharmaInc.2014EquityIncentivePlanMember" xlink:label="loc_flks_FlexPharmaInc.2014EquityIncentivePlanMember_01AD68B6287A541591494D4B83CB8C5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_40D53AFBF6105EF593664AFD37253A20" xlink:to="loc_flks_FlexPharmaInc.2014EquityIncentivePlanMember_01AD68B6287A541591494D4B83CB8C5E" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_EquityIncentivePlan2015Member" xlink:label="loc_flks_EquityIncentivePlan2015Member_9771CBBF1A505602A200425FA5E8B79E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_40D53AFBF6105EF593664AFD37253A20" xlink:to="loc_flks_EquityIncentivePlan2015Member_9771CBBF1A505602A200425FA5E8B79E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_EFC3265873415388974593F15CFFE849" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_54A314185A2B5B35AFC88EC93EC88B2C" xlink:to="loc_us-gaap_RangeAxis_EFC3265873415388974593F15CFFE849" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_9C8F976AEA2357D4AE3A91DC47928D8B_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_EFC3265873415388974593F15CFFE849" xlink:to="loc_us-gaap_RangeMember_9C8F976AEA2357D4AE3A91DC47928D8B_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_B57A683170495F15A997EFD466DF62FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_EFC3265873415388974593F15CFFE849" xlink:to="loc_us-gaap_RangeMember_B57A683170495F15A997EFD466DF62FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_3C24B3DFF28C5D8EAA8503838B338980" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B57A683170495F15A997EFD466DF62FD" xlink:to="loc_us-gaap_MinimumMember_3C24B3DFF28C5D8EAA8503838B338980" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_D68ADC913C25505AA7337C8E931DEC66" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B57A683170495F15A997EFD466DF62FD" xlink:to="loc_us-gaap_MaximumMember_D68ADC913C25505AA7337C8E931DEC66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_7CD5D9C4704859DE9D71F78FC5945CF2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_54A314185A2B5B35AFC88EC93EC88B2C" xlink:to="loc_us-gaap_AwardTypeAxis_7CD5D9C4704859DE9D71F78FC5945CF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_356F3D0DC1BB306D58D091DC4793C2B1_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_7CD5D9C4704859DE9D71F78FC5945CF2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_356F3D0DC1BB306D58D091DC4793C2B1_E7B65FB4D7C85C36A20ECE9399E378CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7A00F649130859FA8CC53B5CB614BBE2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_7CD5D9C4704859DE9D71F78FC5945CF2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7A00F649130859FA8CC53B5CB614BBE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_3FA8AD8459E65B0D890E18F5B442CB75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7A00F649130859FA8CC53B5CB614BBE2" xlink:to="loc_us-gaap_EmployeeStockOptionMember_3FA8AD8459E65B0D890E18F5B442CB75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_2FD56B9B68F4512EA489D85C1A90121E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_2FD56B9B68F4512EA489D85C1A90121E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_D8EF631D5BFA522BBDC09F3F2A3897B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_D8EF631D5BFA522BBDC09F3F2A3897B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_6C956E83F73D583E9E3E35304843C8C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_6C956E83F73D583E9E3E35304843C8C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_DC57F24EC29551288454BABA280FE8E9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_DC57F24EC29551288454BABA280FE8E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_8D10FD7DEBF45A2BB7B1E6F06B5C42D9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_8D10FD7DEBF45A2BB7B1E6F06B5C42D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D568544DFD695486A7E74A395EB4D69E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_396EECEEB408591589806B5F7401C6BA" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_D568544DFD695486A7E74A395EB4D69E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_978910C012835CAB902B8A64CC0785E0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_999647E39E645B049BF60B11E273DD6A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_978910C012835CAB902B8A64CC0785E0" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_999647E39E645B049BF60B11E273DD6A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_63076472EF7A56B4A72A2DA6EC87B517" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_999647E39E645B049BF60B11E273DD6A" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_63076472EF7A56B4A72A2DA6EC87B517" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_B325E2BFDB54E22C4B7D13CE9A9EE72C_684AE6C3D504524989AE8887A2425136" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_63076472EF7A56B4A72A2DA6EC87B517" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_B325E2BFDB54E22C4B7D13CE9A9EE72C_684AE6C3D504524989AE8887A2425136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_85C1B9AA0E2E5725A1C95059A226812A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_63076472EF7A56B4A72A2DA6EC87B517" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_85C1B9AA0E2E5725A1C95059A226812A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_A8F6879DC47A5CE385EABE29EE4B6D74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_85C1B9AA0E2E5725A1C95059A226812A" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_A8F6879DC47A5CE385EABE29EE4B6D74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_ECED34059DA35926958CD0381996B48D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_85C1B9AA0E2E5725A1C95059A226812A" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_ECED34059DA35926958CD0381996B48D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_5B8E60410D775D429C618D9F686D49D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_978910C012835CAB902B8A64CC0785E0" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_5B8E60410D775D429C618D9F686D49D0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_FF2B7F2968BE5B8878B49F63DC27606D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_FF2B7F2968BE5B8878B49F63DC27606D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_BAE509F0F985A98154029F63DC27073A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_FF2B7F2968BE5B8878B49F63DC27606D" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_BAE509F0F985A98154029F63DC27073A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_67E9FC85EB2E32CA81FF9F63DC279567_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_BAE509F0F985A98154029F63DC27073A" xlink:to="loc_us-gaap_EquityComponentDomain_67E9FC85EB2E32CA81FF9F63DC279567_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_67E9FC85EB2E32CA81FF9F63DC279567" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_BAE509F0F985A98154029F63DC27073A" xlink:to="loc_us-gaap_EquityComponentDomain_67E9FC85EB2E32CA81FF9F63DC279567" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_CE0AD60011C32DEBFF429F63DC27AC40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_67E9FC85EB2E32CA81FF9F63DC279567" xlink:to="loc_us-gaap_RetainedEarningsMember_CE0AD60011C32DEBFF429F63DC27AC40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D253F0586077828E341F9F63DC2CFBA9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_FF2B7F2968BE5B8878B49F63DC27606D" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D253F0586077828E341F9F63DC2CFBA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_4F2AB6B285B100E21C3C9F63DC2D0D4B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D253F0586077828E341F9F63DC2CFBA9" xlink:to="loc_us-gaap_TypeOfAdoptionMember_4F2AB6B285B100E21C3C9F63DC2D0D4B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_4F2AB6B285B100E21C3C9F63DC2D0D4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_D253F0586077828E341F9F63DC2CFBA9" xlink:to="loc_us-gaap_TypeOfAdoptionMember_4F2AB6B285B100E21C3C9F63DC2D0D4B" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_AccountingStandardsUpdate201609ForfeitureRateComponentMember" xlink:label="loc_flks_AccountingStandardsUpdate201609ForfeitureRateComponentMember_743C1000C626808812C79F63DC2D8865" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_4F2AB6B285B100E21C3C9F63DC2D0D4B" xlink:to="loc_flks_AccountingStandardsUpdate201609ForfeitureRateComponentMember_743C1000C626808812C79F63DC2D8865" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_AccountingStandardsUpdate201609ExcessTaxBenefitComponentMember" xlink:label="loc_flks_AccountingStandardsUpdate201609ExcessTaxBenefitComponentMember_3FE48C54B529EA8B34BC9F63DC2D438D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_4F2AB6B285B100E21C3C9F63DC2D0D4B" xlink:to="loc_flks_AccountingStandardsUpdate201609ExcessTaxBenefitComponentMember_3FE48C54B529EA8B34BC9F63DC2D438D" xlink:type="arc" />
    <link:loc xlink:href="flks-20170630.xsd#flks_RevenueRecognitionRefundPeriod" xlink:label="loc_flks_RevenueRecognitionRefundPeriod_BD99271BC308D320DA549F63DC2D37FA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:to="loc_flks_RevenueRecognitionRefundPeriod_BD99271BC308D320DA549F63DC2D37FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_6C5A5C06E272601860FD9F63DC2D84E2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:to="loc_us-gaap_AdvertisingExpense_6C5A5C06E272601860FD9F63DC2D84E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShippingHandlingAndTransportationCosts" xlink:label="loc_us-gaap_ShippingHandlingAndTransportationCosts_468FFBD5CDE8E723B9329F63DC2D8C79" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:to="loc_us-gaap_ShippingHandlingAndTransportationCosts_468FFBD5CDE8E723B9329F63DC2D8C79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_26E2CD1E57DA7777A2DC9F63DC2D178A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_26E2CD1E57DA7777A2DC9F63DC2D178A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_087E65AC031B0DFE06259F63DC2D20AA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_66FC40FF495E8A1D7B119F63DC2D8283" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_087E65AC031B0DFE06259F63DC2D20AA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:type="extended" />
</link:linkbase>
