<?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-20180930.xsd#AccruedExpensesAndOtherCurrentLiabilities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesNarrativeDetails" xlink:href="flks-20180930.xsd#AccruedExpensesAndOtherCurrentLiabilitiesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:href="flks-20180930.xsd#AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfRestructuringReserveActivityDetails" xlink:href="flks-20180930.xsd#AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfRestructuringReserveActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:href="flks-20180930.xsd#AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecurities" xlink:href="flks-20180930.xsd#CashEquivalentsAndMarketableSecurities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecuritiesDetails" xlink:href="flks-20180930.xsd#CashEquivalentsAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CashEquivalentsAndMarketableSecuritiesTables" xlink:href="flks-20180930.xsd#CashEquivalentsAndMarketableSecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStock" xlink:href="flks-20180930.xsd#CommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStockNarrativeDetails" xlink:href="flks-20180930.xsd#CommonStockNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStockRestrictedCommonStockActivityDetails" xlink:href="flks-20180930.xsd#CommonStockRestrictedCommonStockActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CommonStockTables" xlink:href="flks-20180930.xsd#CommonStockTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:href="flks-20180930.xsd#CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="flks-20180930.xsd#CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="flks-20180930.xsd#CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfComprehensiveLossUnaudited" xlink:href="flks-20180930.xsd#CondensedConsolidatedStatementsOfComprehensiveLossUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:href="flks-20180930.xsd#CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/DocumentAndEntityInformation" xlink:href="flks-20180930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/FairValueMeasurements" xlink:href="flks-20180930.xsd#FairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/FairValueMeasurementsDetails" xlink:href="flks-20180930.xsd#FairValueMeasurementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/FairValueMeasurementsTables" xlink:href="flks-20180930.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/IncomeTaxes" xlink:href="flks-20180930.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/IncomeTaxesDetails" xlink:href="flks-20180930.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/Inventory" xlink:href="flks-20180930.xsd#Inventory" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/InventoryDetails" xlink:href="flks-20180930.xsd#InventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/InventoryTables" xlink:href="flks-20180930.xsd#InventoryTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/NetLossPerShare" xlink:href="flks-20180930.xsd#NetLossPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/NetLossPerShareDetails" xlink:href="flks-20180930.xsd#NetLossPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/NetLossPerShareTables" xlink:href="flks-20180930.xsd#NetLossPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/OrganizationAndOperations" xlink:href="flks-20180930.xsd#OrganizationAndOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/OrganizationAndOperationsDetails" xlink:href="flks-20180930.xsd#OrganizationAndOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/RevenueFromContractsWithCustomers" xlink:href="flks-20180930.xsd#RevenueFromContractsWithCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/RevenueFromContractsWithCustomersDetails" xlink:href="flks-20180930.xsd#RevenueFromContractsWithCustomersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SegmentInformation" xlink:href="flks-20180930.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SegmentInformationDetails" xlink:href="flks-20180930.xsd#SegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SegmentInformationTables" xlink:href="flks-20180930.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensation" xlink:href="flks-20180930.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationNarrativeDetails" xlink:href="flks-20180930.xsd#StockBasedCompensationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:href="flks-20180930.xsd#StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:href="flks-20180930.xsd#StockBasedCompensationSummaryOfStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/StockBasedCompensationTables" xlink:href="flks-20180930.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncements" xlink:href="flks-20180930.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsNarrativeDetails" xlink:href="flks-20180930.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:href="flks-20180930.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsSummaryOfCashAndCashEquivalentsAndRestrictedCashDetails" xlink:href="flks-20180930.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsSummaryOfCashAndCashEquivalentsAndRestrictedCashDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsTables" xlink:href="flks-20180930.xsd#SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsTables" 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/AccruedExpensesAndOtherCurrentLiabilitiesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_74222ACB5BB37D0A2F8A9D9563AC2C47" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:to="loc_us-gaap_StatementScenarioAxis_74222ACB5BB37D0A2F8A9D9563AC2C47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_5F4738D314393ECF37109D9563ADFF52_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_74222ACB5BB37D0A2F8A9D9563AC2C47" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_5F4738D314393ECF37109D9563ADFF52_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_5F4738D314393ECF37109D9563ADFF52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_74222ACB5BB37D0A2F8A9D9563AC2C47" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_5F4738D314393ECF37109D9563ADFF52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_C7D6D534A11FF6B574039D9563AD6633" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_5F4738D314393ECF37109D9563ADFF52" xlink:to="loc_us-gaap_ScenarioForecastMember_C7D6D534A11FF6B574039D9563AD6633" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_8F8605D5412F0A0212459D9563ADEC87" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:to="loc_srt_RangeAxis_8F8605D5412F0A0212459D9563ADEC87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_FDCBDF640A117CB5B4C29D9563AD9BF0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_8F8605D5412F0A0212459D9563ADEC87" xlink:to="loc_srt_RangeMember_FDCBDF640A117CB5B4C29D9563AD9BF0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_FDCBDF640A117CB5B4C29D9563AD9BF0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_8F8605D5412F0A0212459D9563ADEC87" xlink:to="loc_srt_RangeMember_FDCBDF640A117CB5B4C29D9563AD9BF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_D13A72056BCCCC055AFF9D9563AE503B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_FDCBDF640A117CB5B4C29D9563AD9BF0" xlink:to="loc_srt_MinimumMember_D13A72056BCCCC055AFF9D9563AE503B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_D819CF484B6A94DFEC4C9D9563AEB841" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_FDCBDF640A117CB5B4C29D9563AD9BF0" xlink:to="loc_srt_MaximumMember_D819CF484B6A94DFEC4C9D9563AEB841" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_7CDCC1D26DB63DD3364C9D9563AE99F4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:to="loc_srt_ConsolidationItemsAxis_7CDCC1D26DB63DD3364C9D9563AE99F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_E63F9D31D3A639B9AF029D9563AE6054_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_7CDCC1D26DB63DD3364C9D9563AE99F4" xlink:to="loc_srt_ConsolidationItemsDomain_E63F9D31D3A639B9AF029D9563AE6054_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_E63F9D31D3A639B9AF029D9563AE6054" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_7CDCC1D26DB63DD3364C9D9563AE99F4" xlink:to="loc_srt_ConsolidationItemsDomain_E63F9D31D3A639B9AF029D9563AE6054" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_E4B5B5CB2EE030AE02699D9563AFEFD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_E63F9D31D3A639B9AF029D9563AE6054" xlink:to="loc_us-gaap_CorporateNonSegmentMember_E4B5B5CB2EE030AE02699D9563AFEFD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_E19A197D1B7E821D3FA39D9563AFF939" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_E19A197D1B7E821D3FA39D9563AFF939" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_6CD9CB0293C0482E0B209D9563AF0607_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E19A197D1B7E821D3FA39D9563AFF939" xlink:to="loc_us-gaap_SegmentDomain_6CD9CB0293C0482E0B209D9563AF0607_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_6CD9CB0293C0482E0B209D9563AF0607" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E19A197D1B7E821D3FA39D9563AFF939" xlink:to="loc_us-gaap_SegmentDomain_6CD9CB0293C0482E0B209D9563AF0607" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_ConsumerOperationsMember" xlink:label="loc_flks_ConsumerOperationsMember_19E8CF5B808D283950289D9563AFD40B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_6CD9CB0293C0482E0B209D9563AF0607" xlink:to="loc_flks_ConsumerOperationsMember_19E8CF5B808D283950289D9563AFD40B" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_DrugDevelopmentMember" xlink:label="loc_flks_DrugDevelopmentMember_FC26E86EB2A122C545579D9563B01EB9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_6CD9CB0293C0482E0B209D9563AF0607" xlink:to="loc_flks_DrugDevelopmentMember_FC26E86EB2A122C545579D9563B01EB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_540BE1FFDAEA4CA851E39D9563B00788" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_540BE1FFDAEA4CA851E39D9563B00788" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_CD27B3DB0EB447E993459D9563B0DE79_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_540BE1FFDAEA4CA851E39D9563B00788" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_CD27B3DB0EB447E993459D9563B0DE79_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_CD27B3DB0EB447E993459D9563B0DE79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_540BE1FFDAEA4CA851E39D9563B00788" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_CD27B3DB0EB447E993459D9563B0DE79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_405CBAB9796CF32DD1689D9563B00A3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_CD27B3DB0EB447E993459D9563B0DE79" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_405CBAB9796CF32DD1689D9563B00A3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_3D19ED055BE4EBA84EA09D9563B17EBA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_CD27B3DB0EB447E993459D9563B0DE79" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_3D19ED055BE4EBA84EA09D9563B17EBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_1F6C27AD177B837BE2BD9D9563B16880" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_896720BF597F0191323F9D9563ACD619" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_1F6C27AD177B837BE2BD9D9563B16880" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_1F6C27AD177B837BE2BD9D9563B16880" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_1F6C27AD177B837BE2BD9D9563B16880" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_OngoingTerminationBenefitsMember" xlink:label="loc_flks_OngoingTerminationBenefitsMember_2079C87A5923FB9B74F69D9563B1593A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940" xlink:to="loc_flks_OngoingTerminationBenefitsMember_2079C87A5923FB9B74F69D9563B1593A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_DF3A563F02F444EDA8759D9563B10E63" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_DF3A563F02F444EDA8759D9563B10E63" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_RetentionBenefitsMember" xlink:label="loc_flks_RetentionBenefitsMember_E6E3F6268AEDFE5361E19D9563B2DA09" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940" xlink:to="loc_flks_RetentionBenefitsMember_E6E3F6268AEDFE5361E19D9563B2DA09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherRestructuringMember" xlink:label="loc_us-gaap_OtherRestructuringMember_35B7CE63EF27A87474939D9563B28BA3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_83A5BB7DAAAAD7DE52249D9563B13940" xlink:to="loc_us-gaap_OtherRestructuringMember_35B7CE63EF27A87474939D9563B28BA3" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_AccruedResearchAndDevelopmentExpenseCurrent" xlink:label="loc_flks_AccruedResearchAndDevelopmentExpenseCurrent_FF55FFC0496BC9E8D4CB9D9563B218BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_AccruedResearchAndDevelopmentExpenseCurrent_FF55FFC0496BC9E8D4CB9D9563B218BD" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_PercentageDecreaseinCompanyWorkforce" xlink:label="loc_flks_PercentageDecreaseinCompanyWorkforce_A551787A99BC6AF634589D9563B327AB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_PercentageDecreaseinCompanyWorkforce_A551787A99BC6AF634589D9563B327AB" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_CashRetentionBonusesPayable" xlink:label="loc_flks_CashRetentionBonusesPayable_232C95363C9BD7B145DD9D9563B3C03A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_CashRetentionBonusesPayable_232C95363C9BD7B145DD9D9563B3C03A" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_CashRetentionBonusesPayableUponChangeinControl" xlink:label="loc_flks_CashRetentionBonusesPayableUponChangeinControl_5016FE37A84C71268AA19D9563B3FD07" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_CashRetentionBonusesPayableUponChangeinControl_5016FE37A84C71268AA19D9563B3FD07" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_CashRetentionBonusesPayableUponEmployeesinGoodStanding" xlink:label="loc_flks_CashRetentionBonusesPayableUponEmployeesinGoodStanding_362A577821DFC04CC7409D9563B3FC01" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_CashRetentionBonusesPayableUponEmployeesinGoodStanding_362A577821DFC04CC7409D9563B3FC01" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SeveranceBenefitsPayableUponChangeinControlandTerminationWithoutCause" xlink:label="loc_flks_SeveranceBenefitsPayableUponChangeinControlandTerminationWithoutCause_EF721F7EFAB18FC3D3539D9563B3CD58" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_SeveranceBenefitsPayableUponChangeinControlandTerminationWithoutCause_EF721F7EFAB18FC3D3539D9563B3CD58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_54397A5B6CA2D259381C9D9563B399A2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_us-gaap_RestructuringCharges_54397A5B6CA2D259381C9D9563B399A2" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_NumberofRetainedEmployees" xlink:label="loc_flks_NumberofRetainedEmployees_8047F64A42F6C6E4A1969D9563B4D3BB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_NumberofRetainedEmployees_8047F64A42F6C6E4A1969D9563B4D3BB" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_RestructuringChargesIncurredUponChangeinControl" xlink:label="loc_flks_RestructuringChargesIncurredUponChangeinControl_E2AD0CD2809158964F539D9563B4CC92" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_D750CFC6B3A4EDF7693B9D9563B28AFF" xlink:to="loc_flks_RestructuringChargesIncurredUponChangeinControl_E2AD0CD2809158964F539D9563B4CC92" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfRestructuringReserveActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_33D44CA85350EFE34B9A64F31BEEF76F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BDA8DF1BC2FF49E96D9C64F31BECBA95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_33D44CA85350EFE34B9A64F31BEEF76F" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BDA8DF1BC2FF49E96D9C64F31BECBA95" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_A73390AFA98B800C20D764F31BEC38D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_BDA8DF1BC2FF49E96D9C64F31BECBA95" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_A73390AFA98B800C20D764F31BEC38D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_A73390AFA98B800C20D764F31BEC38D5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_A73390AFA98B800C20D764F31BEC38D5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_B2527646CC522F0BCCF864F31BEDA1EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553" xlink:to="loc_us-gaap_EmployeeSeveranceMember_B2527646CC522F0BCCF864F31BEDA1EC" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_RetentionBenefitsMember" xlink:label="loc_flks_RetentionBenefitsMember_52A50E2132AAC92453EE64F31BEDA6A3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553" xlink:to="loc_flks_RetentionBenefitsMember_52A50E2132AAC92453EE64F31BEDA6A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherRestructuringMember" xlink:label="loc_us-gaap_OtherRestructuringMember_4531B2045121E8AD86C964F31BEE8118" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_1B2981295B13E8AB896B64F31BEDC553" xlink:to="loc_us-gaap_OtherRestructuringMember_4531B2045121E8AD86C964F31BEE8118" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_E0DD9C4D1FA463B78D3064F31BEE8C92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_33D44CA85350EFE34B9A64F31BEEF76F" xlink:to="loc_us-gaap_RestructuringReserveRollForward_E0DD9C4D1FA463B78D3064F31BEE8C92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_E643406DC8CF7CA4FFC064F31BEEE844" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E0DD9C4D1FA463B78D3064F31BEE8C92" xlink:to="loc_us-gaap_RestructuringReserve_E643406DC8CF7CA4FFC064F31BEEE844" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_5BC34B4A7727B684D86764F31BEF462D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E0DD9C4D1FA463B78D3064F31BEE8C92" xlink:to="loc_us-gaap_RestructuringCharges_5BC34B4A7727B684D86764F31BEF462D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_1CF11102E922C0C0A06964F31BEFBAD7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_E0DD9C4D1FA463B78D3064F31BEE8C92" xlink:to="loc_us-gaap_PaymentsForRestructuring_1CF11102E922C0C0A06964F31BEFBAD7" xlink:type="arc" />
  </link:definitionLink>
  <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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_DBE6A1EF8F055C988844F5ED05ED3887" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_DBE6A1EF8F055C988844F5ED05ED3887" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_D260775D143C5403971C1F3854755D08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_DBE6A1EF8F055C988844F5ED05ED3887" xlink:to="loc_us-gaap_FinancialInstrumentAxis_D260775D143C5403971C1F3854755D08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A21834C948A2C61AA18F081B3D99870_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_D260775D143C5403971C1F3854755D08" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A21834C948A2C61AA18F081B3D99870_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_142BC2A731E55E38B55A4FB7331C70CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_D260775D143C5403971C1F3854755D08" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_142BC2A731E55E38B55A4FB7331C70CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_1495D30EC9A154D9AEA44893C2F010FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_142BC2A731E55E38B55A4FB7331C70CA" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_1495D30EC9A154D9AEA44893C2F010FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_E8B1FE6B06655AE683020A59B82AF898" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_142BC2A731E55E38B55A4FB7331C70CA" xlink:to="loc_us-gaap_CommercialPaperMember_E8B1FE6B06655AE683020A59B82AF898" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_CE38C066B59658D894F54C4D0E1065F0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_142BC2A731E55E38B55A4FB7331C70CA" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_CE38C066B59658D894F54C4D0E1065F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_28430D44FC175053A0B60DEB36242640" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_28430D44FC175053A0B60DEB36242640" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_D3FFC94CF859522D8440E5C0CD7892C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_D3FFC94CF859522D8440E5C0CD7892C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_04ABA22D314C5F57B630C0624E0AC9E9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_04ABA22D314C5F57B630C0624E0AC9E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_340A6C6DCF3B5FEC903F925F552C78BF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_340A6C6DCF3B5FEC903F925F552C78BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_E0584B8169345000A1AAB3B61302ABA6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_E0584B8169345000A1AAB3B61302ABA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_68BAC93EE0AE5B0C92C8163651669FBD" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_68BAC93EE0AE5B0C92C8163651669FBD" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_DebtSecuritiesAvailableforsaleSignificantUnrealizedLossPositionNumberofPositions" xlink:label="loc_flks_DebtSecuritiesAvailableforsaleSignificantUnrealizedLossPositionNumberofPositions_D5D14CBC592A5D24A8C64E6AD183F7FF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_8578010E50AF5C0A95D1E7CE6E2ED0E1" xlink:to="loc_flks_DebtSecuritiesAvailableforsaleSignificantUnrealizedLossPositionNumberofPositions_D5D14CBC592A5D24A8C64E6AD183F7FF" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0F459247F213ACD5BEF9C368F8CF6EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0F459247F213ACD5BEF9C368F8CF6EE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_F47F3F5D9E2A0005E55E9C368F8C7E83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0F459247F213ACD5BEF9C368F8CF6EE" xlink:to="loc_us-gaap_AwardTypeAxis_F47F3F5D9E2A0005E55E9C368F8C7E83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8B594549682A5B047A329C368F8EF4E6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F47F3F5D9E2A0005E55E9C368F8C7E83" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8B594549682A5B047A329C368F8EF4E6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8B594549682A5B047A329C368F8EF4E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F47F3F5D9E2A0005E55E9C368F8C7E83" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8B594549682A5B047A329C368F8EF4E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_CD6422BF1438E47642E59C368F8E7071" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8B594549682A5B047A329C368F8EF4E6" xlink:to="loc_us-gaap_RestrictedStockMember_CD6422BF1438E47642E59C368F8E7071" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_00AD6D6AAA88D40D36299C368F8FE362" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0F459247F213ACD5BEF9C368F8CF6EE" xlink:to="loc_us-gaap_VestingAxis_00AD6D6AAA88D40D36299C368F8FE362" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_80DD3405B8924AA84A189C368F8FEF53_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_00AD6D6AAA88D40D36299C368F8FE362" xlink:to="loc_us-gaap_VestingDomain_80DD3405B8924AA84A189C368F8FEF53_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_80DD3405B8924AA84A189C368F8FEF53" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_00AD6D6AAA88D40D36299C368F8FE362" xlink:to="loc_us-gaap_VestingDomain_80DD3405B8924AA84A189C368F8FEF53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_35473E8DFE9E262E6C1B9C368F8FEECC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_80DD3405B8924AA84A189C368F8FEF53" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_35473E8DFE9E262E6C1B9C368F8FEECC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_B6E5FB630692E710CA0C9C368F90423B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_80DD3405B8924AA84A189C368F8FEF53" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_B6E5FB630692E710CA0C9C368F90423B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_C207D8FD4047ED3A69DA9C368F909D7A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D0F459247F213ACD5BEF9C368F8CF6EE" xlink:to="loc_us-gaap_TitleOfIndividualAxis_C207D8FD4047ED3A69DA9C368F909D7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_1882CA09E6F6242042E19C368F917102_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_C207D8FD4047ED3A69DA9C368F909D7A" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_1882CA09E6F6242042E19C368F917102_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_1882CA09E6F6242042E19C368F917102" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_C207D8FD4047ED3A69DA9C368F909D7A" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_1882CA09E6F6242042E19C368F917102" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_NonemployeeConsultantsandAdvisersMember" xlink:label="loc_flks_NonemployeeConsultantsandAdvisersMember_F1BC5B29CC15AFDD9FBE9C368F910742" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_1882CA09E6F6242042E19C368F917102" xlink:to="loc_flks_NonemployeeConsultantsandAdvisersMember_F1BC5B29CC15AFDD9FBE9C368F910742" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_4CD37C4B36A5866C5A359C368F92D3FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_4CD37C4B36A5866C5A359C368F92D3FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_4591D3D5E7B1948F6D699C368F93E7D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_4591D3D5E7B1948F6D699C368F93E7D2" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_ProceedsFromSaleOfRestrictedCommonStock" xlink:label="loc_flks_ProceedsFromSaleOfRestrictedCommonStock_34C1E499BABD5A3980949C368F934571" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_flks_ProceedsFromSaleOfRestrictedCommonStock_34C1E499BABD5A3980949C368F934571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_0BCF48D8EF75A8E415709C368F93EDC2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_0BCF48D8EF75A8E415709C368F93EDC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_EE4806910C3EE267B1AF9C368F93A211" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_EE4806910C3EE267B1AF9C368F93A211" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_23F19D64CAFF0B1E7C229C368F9320C7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B1E651C3D882DD5D271D9C368F9124B4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber_23F19D64CAFF0B1E7C229C368F9320C7" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2732FF5CB3F3587ABB4A1C6C8D46423B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7DA535CF5D465FAD9366212747AA4D86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2732FF5CB3F3587ABB4A1C6C8D46423B" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7DA535CF5D465FAD9366212747AA4D86" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_67B5BFB3C2A75A8ABF26A98ABB4B6172" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7DA535CF5D465FAD9366212747AA4D86" xlink:to="loc_us-gaap_AwardTypeAxis_67B5BFB3C2A75A8ABF26A98ABB4B6172" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CC75C2D676DB598D932813DBF2C561D5_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_67B5BFB3C2A75A8ABF26A98ABB4B6172" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_CC75C2D676DB598D932813DBF2C561D5_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F53019A487FC54FFB97081C80DDFE4F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_67B5BFB3C2A75A8ABF26A98ABB4B6172" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F53019A487FC54FFB97081C80DDFE4F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_8B0D9924C645557F9AE0A94F962E4256" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_F53019A487FC54FFB97081C80DDFE4F2" xlink:to="loc_us-gaap_RestrictedStockMember_8B0D9924C645557F9AE0A94F962E4256" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_B9F950E2BCCE5DAFAEB02807C728C4AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7DA535CF5D465FAD9366212747AA4D86" xlink:to="loc_us-gaap_TitleOfIndividualAxis_B9F950E2BCCE5DAFAEB02807C728C4AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D9267A87A044F539550113DBF2C5AD1D_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_B9F950E2BCCE5DAFAEB02807C728C4AD" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_D9267A87A044F539550113DBF2C5AD1D_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_6DE96D2285C25FBE9B3D463686DA4D51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_B9F950E2BCCE5DAFAEB02807C728C4AD" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_6DE96D2285C25FBE9B3D463686DA4D51" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_NonemployeeConsultantsandAdvisersMember" xlink:label="loc_flks_NonemployeeConsultantsandAdvisersMember_80994B6FE4305AD491DAC23D9EF4FD30" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_6DE96D2285C25FBE9B3D463686DA4D51" xlink:to="loc_flks_NonemployeeConsultantsandAdvisersMember_80994B6FE4305AD491DAC23D9EF4FD30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_63309ACD96235AB4AF21628890A4631C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2732FF5CB3F3587ABB4A1C6C8D46423B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_63309ACD96235AB4AF21628890A4631C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1F003FAC6A36552A8F2E2CAC863F9AC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_63309ACD96235AB4AF21628890A4631C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_1F003FAC6A36552A8F2E2CAC863F9AC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_F40AF713A3B6548EAD83EF0ED5CB82B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_63309ACD96235AB4AF21628890A4631C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_F40AF713A3B6548EAD83EF0ED5CB82B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1586DE17EA2A52AFB14786AD6C90668D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_63309ACD96235AB4AF21628890A4631C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1586DE17EA2A52AFB14786AD6C90668D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_91B4D1A5BEC65C93B45DA8D6CBE075E9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_63309ACD96235AB4AF21628890A4631C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_91B4D1A5BEC65C93B45DA8D6CBE075E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_939D9524188054A49C653DE57BEB2BAA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2732FF5CB3F3587ABB4A1C6C8D46423B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_939D9524188054A49C653DE57BEB2BAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_4617E0AEB82552A4ABDE363E79E0879E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_939D9524188054A49C653DE57BEB2BAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_4617E0AEB82552A4ABDE363E79E0879E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_AFB527066A1F524B80B2777D85349B13" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_939D9524188054A49C653DE57BEB2BAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_AFB527066A1F524B80B2777D85349B13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5030EF635F1051D7A58AD884C07B2F0B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_939D9524188054A49C653DE57BEB2BAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5030EF635F1051D7A58AD884C07B2F0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_B73A160245E657699E702100109991FF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_939D9524188054A49C653DE57BEB2BAA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_B73A160245E657699E702100109991FF" 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:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_3FAB074663A257C5A29810E180A365DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_StatementTable_3FAB074663A257C5A29810E180A365DC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_CA113935018658FC9EC6081DE6C5A1FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3FAB074663A257C5A29810E180A365DC" xlink:to="loc_srt_ProductOrServiceAxis_CA113935018658FC9EC6081DE6C5A1FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_00C52813219EDBFC18965C3FC2FD7420_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_CA113935018658FC9EC6081DE6C5A1FC" xlink:to="loc_srt_ProductsAndServicesDomain_00C52813219EDBFC18965C3FC2FD7420_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_CD58D4D4C42D520E8B6EB2D94A85284D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_CA113935018658FC9EC6081DE6C5A1FC" xlink:to="loc_srt_ProductsAndServicesDomain_CD58D4D4C42D520E8B6EB2D94A85284D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductMember" xlink:label="loc_us-gaap_ProductMember_3EEEA60D10305FA5829F916CFF135B1D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_CD58D4D4C42D520E8B6EB2D94A85284D" xlink:to="loc_us-gaap_ProductMember_3EEEA60D10305FA5829F916CFF135B1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductAndServiceOtherMember" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_26B401F4DC5A56548CAF7F0EB7FCB440" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_CD58D4D4C42D520E8B6EB2D94A85284D" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_26B401F4DC5A56548CAF7F0EB7FCB440" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9EB430BC283E5EAFA94EE9574DB5EEC2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9EB430BC283E5EAFA94EE9574DB5EEC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_7DA9AA9D745C56FCA653A4609B9B1DDA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_OperatingExpensesAbstract_7DA9AA9D745C56FCA653A4609B9B1DDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_668D8498D18B53BEA384EF56F5CE4099" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7DA9AA9D745C56FCA653A4609B9B1DDA" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_668D8498D18B53BEA384EF56F5CE4099" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_E3C5A28FAF9452A583A010C27B6E883F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7DA9AA9D745C56FCA653A4609B9B1DDA" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_E3C5A28FAF9452A583A010C27B6E883F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_025B2F79DC1D5785B153FF788D80544C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7DA9AA9D745C56FCA653A4609B9B1DDA" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_025B2F79DC1D5785B153FF788D80544C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_9ADCD069DA4E516290C1DE61C88A7E87" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7DA9AA9D745C56FCA653A4609B9B1DDA" xlink:to="loc_us-gaap_OperatingExpenses_9ADCD069DA4E516290C1DE61C88A7E87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_3F271C75327A5B81986EFFF1CDB96668" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_OperatingIncomeLoss_3F271C75327A5B81986EFFF1CDB96668" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeOperating" xlink:label="loc_us-gaap_InterestIncomeOperating_51CD678BE4A25A82B8A7DA9C4B11C975" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_InterestIncomeOperating_51CD678BE4A25A82B8A7DA9C4B11C975" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_1C01077672975BE493785C82E2E48DFD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_NetIncomeLoss_1C01077672975BE493785C82E2E48DFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_E64277A9A303587DAA383057D2F78DAF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_E64277A9A303587DAA383057D2F78DAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDiluted_FD600D7C2334531093F0ED145CED0E35" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDiluted_FD600D7C2334531093F0ED145CED0E35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:label="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_0D62E754CE34511DA050E0A0FDB57D10" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_38040753A16052489CC0C2C87135DD44" xlink:to="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_0D62E754CE34511DA050E0A0FDB57D10" xlink:type="arc" />
  </link:definitionLink>
  <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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_54D28A4ED64D59FE92B108D70EE66199" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_715643766213592A89C4D3A66EB06969" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_54D28A4ED64D59FE92B108D70EE66199" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_715643766213592A89C4D3A66EB06969" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3CF6655F14375EB38BDE7E546F04CA3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_715643766213592A89C4D3A66EB06969" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3CF6655F14375EB38BDE7E546F04CA3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_3EBBC5DE8A975442EB39AE6F8C5F2E4D_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3CF6655F14375EB38BDE7E546F04CA3B" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_3EBBC5DE8A975442EB39AE6F8C5F2E4D_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_5201439188355CB5ABE741047C8B7E50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_3CF6655F14375EB38BDE7E546F04CA3B" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5201439188355CB5ABE741047C8B7E50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_BC8C3162C8D85A939E5CB88D1FE8A3DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_5201439188355CB5ABE741047C8B7E50" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_BC8C3162C8D85A939E5CB88D1FE8A3DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_35733F4E529E5DD5BD100E3EE0D83673" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_715643766213592A89C4D3A66EB06969" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_35733F4E529E5DD5BD100E3EE0D83673" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_52417BBEBE6739BDCB60AE6F8C5FA85C_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_35733F4E529E5DD5BD100E3EE0D83673" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_52417BBEBE6739BDCB60AE6F8C5FA85C_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8E36745762EE56B4807B75AC82E43114" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_35733F4E529E5DD5BD100E3EE0D83673" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8E36745762EE56B4807B75AC82E43114" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_974B9C2D4F4B558EAB434F7BD576AD07" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8E36745762EE56B4807B75AC82E43114" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_974B9C2D4F4B558EAB434F7BD576AD07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_6C05A7CCC7EC59AAAEF8FC7169EF873F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8E36745762EE56B4807B75AC82E43114" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_6C05A7CCC7EC59AAAEF8FC7169EF873F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_A5B0E292FC225A819B4BD9D0C9A4C0A0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8E36745762EE56B4807B75AC82E43114" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_A5B0E292FC225A819B4BD9D0C9A4C0A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_62369CB0E0455AF2A55BD4566BB5CA4D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_715643766213592A89C4D3A66EB06969" xlink:to="loc_us-gaap_FinancialInstrumentAxis_62369CB0E0455AF2A55BD4566BB5CA4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_BEFFA740D696B34DD16AAE6F8C5FEC5A_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_62369CB0E0455AF2A55BD4566BB5CA4D" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_BEFFA740D696B34DD16AAE6F8C5FEC5A_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_41CEA681222150F5A3C9FA410CD0CAFE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_62369CB0E0455AF2A55BD4566BB5CA4D" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_41CEA681222150F5A3C9FA410CD0CAFE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_AE44EE3285525D2F9C7C7566A71A05BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_41CEA681222150F5A3C9FA410CD0CAFE" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_AE44EE3285525D2F9C7C7566A71A05BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_1E238EF0146251EDA077765CA6143C36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_41CEA681222150F5A3C9FA410CD0CAFE" xlink:to="loc_us-gaap_CommercialPaperMember_1E238EF0146251EDA077765CA6143C36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_14196D741DA7505484D68CD64D68811C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_41CEA681222150F5A3C9FA410CD0CAFE" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_14196D741DA7505484D68CD64D68811C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_0B7ACE5509785AFF9B195F6CA1782DD5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_54D28A4ED64D59FE92B108D70EE66199" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_0B7ACE5509785AFF9B195F6CA1782DD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketableSecuritiesAbstract" xlink:label="loc_us-gaap_MarketableSecuritiesAbstract_9841E2E945AA56B29029413BC564FA9B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_54D28A4ED64D59FE92B108D70EE66199" xlink:to="loc_us-gaap_MarketableSecuritiesAbstract_9841E2E945AA56B29029413BC564FA9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_74D4CAFED3865D0E8AA538AB413B1E78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_9841E2E945AA56B29029413BC564FA9B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_74D4CAFED3865D0E8AA538AB413B1E78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_1A5B3FD3119E5CDAB96ED1D61CF0D7D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_54D28A4ED64D59FE92B108D70EE66199" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_1A5B3FD3119E5CDAB96ED1D61CF0D7D3" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0B59FB49FA0C5D8DA182B7B65A791497" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_681089F2C3DA559490D26ADD53FFD419" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0B59FB49FA0C5D8DA182B7B65A791497" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_681089F2C3DA559490D26ADD53FFD419" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_395B8A06AD8D5ABC8A7DB08DED332DC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_681089F2C3DA559490D26ADD53FFD419" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_395B8A06AD8D5ABC8A7DB08DED332DC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_49C4A9592682C7B1098513DBF2964268_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_395B8A06AD8D5ABC8A7DB08DED332DC3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_49C4A9592682C7B1098513DBF2964268_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_CB12DDCA1ACB5D66AA265E2A0119426C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_395B8A06AD8D5ABC8A7DB08DED332DC3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_CB12DDCA1ACB5D66AA265E2A0119426C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_4E50A7138B205E73AD344C2E9ADAB1F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_CB12DDCA1ACB5D66AA265E2A0119426C" xlink:to="loc_us-gaap_EmployeeStockOptionMember_4E50A7138B205E73AD344C2E9ADAB1F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_BBD68F8CB6985F70A1BEE26ECFED46BC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_CB12DDCA1ACB5D66AA265E2A0119426C" xlink:to="loc_us-gaap_RestrictedStockMember_BBD68F8CB6985F70A1BEE26ECFED46BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_24DAE760CB3751428F4949AB9D7797C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0B59FB49FA0C5D8DA182B7B65A791497" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_24DAE760CB3751428F4949AB9D7797C6" 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/RevenueFromContractsWithCustomers" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/RevenueFromContractsWithCustomersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_E40A7081121B1DFC9EE89C491920A00F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_E40A7081121B1DFC9EE89C491920A00F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C1DF5EF172CD9E1C81559C491920E424" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_E40A7081121B1DFC9EE89C491920A00F" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C1DF5EF172CD9E1C81559C491920E424" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_270C02E71BAD50D18E979C491920926E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C1DF5EF172CD9E1C81559C491920E424" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_270C02E71BAD50D18E979C491920926E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_270C02E71BAD50D18E979C491920926E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_C1DF5EF172CD9E1C81559C491920E424" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_270C02E71BAD50D18E979C491920926E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_78E7A86F1A78548B966A9C491921BC72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_270C02E71BAD50D18E979C491920926E" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_78E7A86F1A78548B966A9C491921BC72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7AD9F6AF3D7C5245D79C491921F33A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_E40A7081121B1DFC9EE89C491920A00F" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7AD9F6AF3D7C5245D79C491921F33A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_074C10ABDB0D35A696109C491921A070_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7AD9F6AF3D7C5245D79C491921F33A" xlink:to="loc_us-gaap_TypeOfAdoptionMember_074C10ABDB0D35A696109C491921A070_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_074C10ABDB0D35A696109C491921A070" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_DE7AD9F6AF3D7C5245D79C491921F33A" xlink:to="loc_us-gaap_TypeOfAdoptionMember_074C10ABDB0D35A696109C491921A070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_7CBE95FE2DCFAA625B869C4919226C8E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_074C10ABDB0D35A696109C491921A070" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_7CBE95FE2DCFAA625B869C4919226C8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_39184A1E6F58342599CF9C491922D1BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_39184A1E6F58342599CF9C491922D1BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiability" xlink:label="loc_us-gaap_ContractWithCustomerLiability_030495A2AAD7E09EADEB9C49192264C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_us-gaap_ContractWithCustomerLiability_030495A2AAD7E09EADEB9C49192264C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCostsCurrentAndNoncurrent" xlink:label="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_D7C373D4263DC3DD31229C491923EFB5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_D7C373D4263DC3DD31229C491923EFB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7BB4D3E3D89D907BEC429C4919287D04" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7BB4D3E3D89D907BEC429C4919287D04" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_ContractwithCustomerRefundPeriod" xlink:label="loc_flks_ContractwithCustomerRefundPeriod_9F197982CFAA141E94D39C491928AEB3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_flks_ContractwithCustomerRefundPeriod_9F197982CFAA141E94D39C491928AEB3" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SalesDiscounts" xlink:label="loc_flks_SalesDiscounts_53361A6636372B1A122B9C4919291655" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_D6321F3F1C2E84703E819C49192208CC" xlink:to="loc_flks_SalesDiscounts_53361A6636372B1A122B9C4919291655" xlink:type="arc" />
  </link:definitionLink>
  <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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_CED01C5B316A5B51949780AC65DAEB37" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5D2F175CB0F959CBADFF0610DD43640B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_CED01C5B316A5B51949780AC65DAEB37" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5D2F175CB0F959CBADFF0610DD43640B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_B880305A45D655EE8937D8B5DBB51C34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5D2F175CB0F959CBADFF0610DD43640B" xlink:to="loc_srt_ConsolidationItemsAxis_B880305A45D655EE8937D8B5DBB51C34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_F5CC00F9DBD9D890D3726070C49E3376_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_B880305A45D655EE8937D8B5DBB51C34" xlink:to="loc_srt_ConsolidationItemsDomain_F5CC00F9DBD9D890D3726070C49E3376_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_D304FE097D43594D916868BAA6699D08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_B880305A45D655EE8937D8B5DBB51C34" xlink:to="loc_srt_ConsolidationItemsDomain_D304FE097D43594D916868BAA6699D08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_1CF874E118715FF298091ED8BB9927AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_D304FE097D43594D916868BAA6699D08" xlink:to="loc_us-gaap_OperatingSegmentsMember_1CF874E118715FF298091ED8BB9927AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_6CB3B3E677415749A56911006232F0A7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_D304FE097D43594D916868BAA6699D08" xlink:to="loc_us-gaap_CorporateNonSegmentMember_6CB3B3E677415749A56911006232F0A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_D77D381B1BB558C0AC03124032C42B3D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5D2F175CB0F959CBADFF0610DD43640B" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_D77D381B1BB558C0AC03124032C42B3D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_92448BA0E47721A62FCF6070C4A1302D_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D77D381B1BB558C0AC03124032C42B3D" xlink:to="loc_us-gaap_SegmentDomain_92448BA0E47721A62FCF6070C4A1302D_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_97AFBB0F461C5AB4BBBC523E92D64D7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D77D381B1BB558C0AC03124032C42B3D" xlink:to="loc_us-gaap_SegmentDomain_97AFBB0F461C5AB4BBBC523E92D64D7C" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_ConsumerOperationsMember" xlink:label="loc_flks_ConsumerOperationsMember_BF6ACD75961D58ED8F3599A564E79D06" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_97AFBB0F461C5AB4BBBC523E92D64D7C" xlink:to="loc_flks_ConsumerOperationsMember_BF6ACD75961D58ED8F3599A564E79D06" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_DrugDevelopmentMember" xlink:label="loc_flks_DrugDevelopmentMember_67C9C1C8BC935482A18BDA7A8361DC28" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_97AFBB0F461C5AB4BBBC523E92D64D7C" xlink:to="loc_flks_DrugDevelopmentMember_67C9C1C8BC935482A18BDA7A8361DC28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_F9608F8B0D285F3982E31BD58FFD2C79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_CED01C5B316A5B51949780AC65DAEB37" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_F9608F8B0D285F3982E31BD58FFD2C79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeOperating" xlink:label="loc_us-gaap_InterestIncomeOperating_46A515AFE4F7589C880EB5C9641805C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_CED01C5B316A5B51949780AC65DAEB37" xlink:to="loc_us-gaap_InterestIncomeOperating_46A515AFE4F7589C880EB5C9641805C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_7D78D3D47A8A55BCBA8B516085BB8411" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_CED01C5B316A5B51949780AC65DAEB37" xlink:to="loc_us-gaap_OperatingIncomeLoss_7D78D3D47A8A55BCBA8B516085BB8411" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D61BA6EDCCB925D90BEFCB705B745574" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D61BA6EDCCB925D90BEFCB705B745574" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_156262F7CAC56FCE8B79CB705B740B3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D61BA6EDCCB925D90BEFCB705B745574" xlink:to="loc_us-gaap_PlanNameAxis_156262F7CAC56FCE8B79CB705B740B3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_156262F7CAC56FCE8B79CB705B740B3C" xlink:to="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_156262F7CAC56FCE8B79CB705B740B3C" xlink:to="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_FlexPharmaInc.2014EquityIncentivePlanMember" xlink:label="loc_flks_FlexPharmaInc.2014EquityIncentivePlanMember_4AD6DF8B9AFC2FD58EEFCB705B751C7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75" xlink:to="loc_flks_FlexPharmaInc.2014EquityIncentivePlanMember_4AD6DF8B9AFC2FD58EEFCB705B751C7C" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_EquityIncentivePlan2015Member" xlink:label="loc_flks_EquityIncentivePlan2015Member_B90EE3CC4D5929B1C918CB705B7504C4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75" xlink:to="loc_flks_EquityIncentivePlan2015Member_B90EE3CC4D5929B1C918CB705B7504C4" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_EmployeeStockOptionOneYearPostTerminationExercisabilityMember" xlink:label="loc_flks_EmployeeStockOptionOneYearPostTerminationExercisabilityMember_F7E6A47E976A65CF77C5CB705B757D44" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75" xlink:to="loc_flks_EmployeeStockOptionOneYearPostTerminationExercisabilityMember_F7E6A47E976A65CF77C5CB705B757D44" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_EmployeeStockOptionThreeYearPostTerminationExercisabilityMember" xlink:label="loc_flks_EmployeeStockOptionThreeYearPostTerminationExercisabilityMember_3FD2A9E992743207BBDECB705B753AE4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_B7601F88B82ABA075A11CB705B75BB75" xlink:to="loc_flks_EmployeeStockOptionThreeYearPostTerminationExercisabilityMember_3FD2A9E992743207BBDECB705B753AE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_DB5C7A97A9DF0FB8CB1BCB705B767CB6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D61BA6EDCCB925D90BEFCB705B745574" xlink:to="loc_srt_RangeAxis_DB5C7A97A9DF0FB8CB1BCB705B767CB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_B8107B613D57E8D38C01CB705B767802_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_DB5C7A97A9DF0FB8CB1BCB705B767CB6" xlink:to="loc_srt_RangeMember_B8107B613D57E8D38C01CB705B767802_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_B8107B613D57E8D38C01CB705B767802" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_DB5C7A97A9DF0FB8CB1BCB705B767CB6" xlink:to="loc_srt_RangeMember_B8107B613D57E8D38C01CB705B767802" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_08E4F711E354508723B9CB705B764FA6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_B8107B613D57E8D38C01CB705B767802" xlink:to="loc_srt_MinimumMember_08E4F711E354508723B9CB705B764FA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_6855E5F7BD766C5D34D9CB705B769B1F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_B8107B613D57E8D38C01CB705B767802" xlink:to="loc_srt_MaximumMember_6855E5F7BD766C5D34D9CB705B769B1F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A663F7690453E36BAB71CB705B778578" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_D61BA6EDCCB925D90BEFCB705B745574" xlink:to="loc_us-gaap_AwardTypeAxis_A663F7690453E36BAB71CB705B778578" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_149B7A56E0D52394E306CB705B771874_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A663F7690453E36BAB71CB705B778578" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_149B7A56E0D52394E306CB705B771874_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_149B7A56E0D52394E306CB705B771874" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A663F7690453E36BAB71CB705B778578" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_149B7A56E0D52394E306CB705B771874" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_6D1B6B5133358890DB80CB705B77F62C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_149B7A56E0D52394E306CB705B771874" xlink:to="loc_us-gaap_EmployeeStockOptionMember_6D1B6B5133358890DB80CB705B77F62C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_D806A745EE715D8ADC5ACB705B78FC42" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_D806A745EE715D8ADC5ACB705B78FC42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_9694F9E089BEB48CF2F1CB705B78C08D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_9694F9E089BEB48CF2F1CB705B78C08D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_C647FD74FD8C8496DD6CCB705B788BAA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_C647FD74FD8C8496DD6CCB705B788BAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_C53DD9E657F2E433F7F5CB705B780429" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_C53DD9E657F2E433F7F5CB705B780429" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_14667DB6CA1B5E1DDC9FCB705B78092E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_14667DB6CA1B5E1DDC9FCB705B78092E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_93E906A96435D74A253DCB705B792978" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_93E906A96435D74A253DCB705B792978" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsPostTerminationExercisabilityPeriod" xlink:label="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsPostTerminationExercisabilityPeriod_DB31DB05C5983EC7A81DCB705B798FCC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsPostTerminationExercisabilityPeriod_DB31DB05C5983EC7A81DCB705B798FCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_63B8357751B05756EB47CB705B79FBCC" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_63B8357751B05756EB47CB705B79FBCC" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofEmployeesHoldingOptions" xlink:label="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofEmployeesHoldingOptions_91E1AEE75A7156ADF7AACB705B79CFAE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofEmployeesHoldingOptions_91E1AEE75A7156ADF7AACB705B79CFAE" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofAdvisersHoldingOptions" xlink:label="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofAdvisersHoldingOptions_D781B3933D24BD880BE7CB705B79C7DE" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofAdvisersHoldingOptions_D781B3933D24BD880BE7CB705B79C7DE" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsPostTerminationExercisabilityExtendedPeriod" xlink:label="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsPostTerminationExercisabilityExtendedPeriod_6C95EAFBC61C7C175534CB705B79A021" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsPostTerminationExercisabilityExtendedPeriod_6C95EAFBC61C7C175534CB705B79A021" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_C9A424666F933DF9BFA0CB705B7A27B7" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_C9A424666F933DF9BFA0CB705B7A27B7" xlink:type="arc" />
    <link:loc xlink:href="flks-20180930.xsd#flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofEmployeesGrantedOptions" xlink:label="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofEmployeesGrantedOptions_38CAAEFF0F70A1ADCB9DCB705B7A55E0" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_695ADDD3F9F68870E309CB705B77E7AB" xlink:to="loc_flks_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofEmployeesGrantedOptions_38CAAEFF0F70A1ADCB9DCB705B7A55E0" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_7EFF4C68C1D15B10A8A32C557346C6E9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_AFD79D3270DD5165BBACAD3DE23A4163" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_7EFF4C68C1D15B10A8A32C557346C6E9" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_AFD79D3270DD5165BBACAD3DE23A4163" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_AB68EA03A022591E869BC8A537227B4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_AFD79D3270DD5165BBACAD3DE23A4163" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_AB68EA03A022591E869BC8A537227B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_84053CECE322CA5583EC13DBF2772FE6_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_AB68EA03A022591E869BC8A537227B4D" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_84053CECE322CA5583EC13DBF2772FE6_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_834B214862D55228B93CDA386EFCB278" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_AB68EA03A022591E869BC8A537227B4D" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_834B214862D55228B93CDA386EFCB278" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_4976D4A0989C5221B16D491DFF886050" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_834B214862D55228B93CDA386EFCB278" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_4976D4A0989C5221B16D491DFF886050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_2DA49D264FEC544DB144656BA1277DAD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_834B214862D55228B93CDA386EFCB278" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_2DA49D264FEC544DB144656BA1277DAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_23A56CF922325C758256D2DD49663BAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_7EFF4C68C1D15B10A8A32C557346C6E9" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_23A56CF922325C758256D2DD49663BAB" 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/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_954F5C16AF1157AF8D7F5FD068D1EDE5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C5378AE28BFD5B11ABCB8EDBD5965B52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_954F5C16AF1157AF8D7F5FD068D1EDE5" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C5378AE28BFD5B11ABCB8EDBD5965B52" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_23FE0AB34D285E82B860EE1A46EEABE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_C5378AE28BFD5B11ABCB8EDBD5965B52" xlink:to="loc_srt_ProductOrServiceAxis_23FE0AB34D285E82B860EE1A46EEABE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_4D5EF88776548CF1FEFE5C3FC2BD6C52_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_23FE0AB34D285E82B860EE1A46EEABE1" xlink:to="loc_srt_ProductsAndServicesDomain_4D5EF88776548CF1FEFE5C3FC2BD6C52_A8E13A0F98BF5DC3A7EDAEBB86069CEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_036648F8F91F5B979E56326B3C69ADE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_23FE0AB34D285E82B860EE1A46EEABE1" xlink:to="loc_srt_ProductsAndServicesDomain_036648F8F91F5B979E56326B3C69ADE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShippingAndHandlingMember" xlink:label="loc_us-gaap_ShippingAndHandlingMember_F73552AF82C45BE6B5814D74F6E22A81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_036648F8F91F5B979E56326B3C69ADE1" xlink:to="loc_us-gaap_ShippingAndHandlingMember_F73552AF82C45BE6B5814D74F6E22A81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_D848525CA2DF50958B2E45764532A4EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_954F5C16AF1157AF8D7F5FD068D1EDE5" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_D848525CA2DF50958B2E45764532A4EC" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsSummaryOfCashAndCashEquivalentsAndRestrictedCashDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.flex-pharma.com/role/SummaryOfSignificantAccountingPoliciesAndRecentAccountingPronouncementsTables" xlink:type="extended" />
</link:linkbase>
