<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>115</ContextCount>
  <ElementCount>224</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>41</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>101 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>103 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/StatementOfFinancialPositionClassified</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>104 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>105 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/StatementOfIncome</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>106 - Statement - Condensed Consolidated Statement of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statement of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>107 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/StatementOfCashFlowsIndirect</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>108 - Disclosure - Organization, Basis of Presentation and Summary of Significant Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock</Role>
      <ShortName>Organization, Basis of Presentation and Summary of Significant Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>109 - Disclosure - Revenue from Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsRevenueFromContractWithCustomerTextBlock</Role>
      <ShortName>Revenue from Contracts with Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>110 - Disclosure - Liquidity and Management's Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsLiquidityAndManagementsPlanDisclosureTextBlock</Role>
      <ShortName>Liquidity and Management's Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>111 - Disclosure - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock</Role>
      <ShortName>Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>112 - Disclosure - Accounts Payable and Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAndAccruedLiabilitiesDisclosureTextBlock</Role>
      <ShortName>Accounts Payable and Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>113 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>114 - Disclosure - License Agreements and Acquired Product Rights</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsIntangibleAssetsDisclosureTextBlock</Role>
      <ShortName>License Agreements and Acquired Product Rights</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>115 - Disclosure - Notes payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock</Role>
      <ShortName>Notes payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>116 - Disclosure - Net Sales by Product</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</Role>
      <ShortName>Net Sales by Product</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>117 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>118 - Disclosure - Earnings per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</Role>
      <ShortName>Earnings per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>119 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>120 - Disclosure - Organization, Basis of Presentation and Summary of Significant Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlockPolicies</Role>
      <ShortName>Organization, Basis of Presentation and Summary of Significant Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>121 - Disclosure - Revenue from Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsRevenueFromContractWithCustomerTextBlockTables</Role>
      <ShortName>Revenue from Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsRevenueFromContractWithCustomerTextBlock</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>122 - Disclosure - Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlockTables</Role>
      <ShortName>Inventory (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsInventoryDisclosureTextBlock</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>123 - Disclosure - Accounts Payable and Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAndAccruedLiabilitiesDisclosureTextBlockTables</Role>
      <ShortName>Accounts Payable and Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAndAccruedLiabilitiesDisclosureTextBlock</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>124 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlockTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>125 - Disclosure - Notes payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlockTables</Role>
      <ShortName>Notes payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsDebtDisclosureTextBlock</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>126 - Disclosure - Net Sales by Product (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlockTables</Role>
      <ShortName>Net Sales by Product (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>127 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>128 - Disclosure - Earnings per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlockTables</Role>
      <ShortName>Earnings per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bdsi.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>129 - Disclosure - Organization, Basis of Presentation and Summary of Significant Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureOrganizationBasisOfPresentationAndSummaryOfSignificantPoliciesAdditionalInformation</Role>
      <ShortName>Organization, Basis of Presentation and Summary of Significant Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>130 - Disclosure - Revenue from Contracts with Customers - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureRevenueFromContractsWithCustomersAdditionalInformation</Role>
      <ShortName>Revenue from Contracts with Customers - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>131 - Disclosure - Revenue from Contracts with Customers - Impact of Adoption of Asc 606 on Company's Condensed Consolidated Balance Sheet (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureRevenueFromContractsWithCustomersImpactOfAdoptionOfAsc606OnCompanysCondensedConsolidatedBalanceSheet</Role>
      <ShortName>Revenue from Contracts with Customers - Impact of Adoption of Asc 606 on Company's Condensed Consolidated Balance Sheet (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>132 - Disclosure - Revenue from Contracts with Customers - Impact of Adoption of Asc 606 on Company's Condensed Consolidated Statement of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureRevenueFromContractsWithCustomersImpactOfAdoptionOfAsc606OnCompanysCondensedConsolidatedStatementOfOperations</Role>
      <ShortName>Revenue from Contracts with Customers - Impact of Adoption of Asc 606 on Company's Condensed Consolidated Statement of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>133 - Disclosure - Revenue from Contracts with Customers - Summary of Accounts Receivables with Customers from Contracts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureRevenueFromContractsWithCustomersSummaryOfAccountsReceivablesWithCustomersFromContracts</Role>
      <ShortName>Revenue from Contracts with Customers - Summary of Accounts Receivables with Customers from Contracts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>134 - Disclosure - Liquidity and Management's Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureLiquidityAndManagementsPlansAdditionalInformation</Role>
      <ShortName>Liquidity and Management's Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>135 - Disclosure - Inventory - Summary of Inventories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureInventorySummaryOfInventories</Role>
      <ShortName>Inventory - Summary of Inventories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>136 - Disclosure - Accounts Payable and Accrued Liabilities - Summary of Components of Accounts Payable and Accrued Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureAccountsPayableAndAccruedLiabilitiesSummaryOfComponentsOfAccountsPayableAndAccruedLiabilities</Role>
      <ShortName>Accounts Payable and Accrued Liabilities - Summary of Components of Accounts Payable and Accrued Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>137 - Disclosure - Property and Equipment - Summarized Category of Fixed Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosurePropertyAndEquipmentSummarizedCategoryOfFixedAssets</Role>
      <ShortName>Property and Equipment - Summarized Category of Fixed Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>138 - Disclosure - Property and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformation</Role>
      <ShortName>Property and Equipment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>139 - Disclosure - License Agreements and Acquired Product Rights - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureLicenseAgreementsAndAcquiredProductRightsAdditionalInformation</Role>
      <ShortName>License Agreements and Acquired Product Rights - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>140 - Disclosure - Notes Payable - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureNotesPayableAdditionalInformation</Role>
      <ShortName>Notes Payable - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>141 - Disclosure - Notes Payable - Future Maturities of the Notes Payable Obligation (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureNotesPayableFutureMaturitiesOfTheNotesPayableObligation</Role>
      <ShortName>Notes Payable - Future Maturities of the Notes Payable Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>142 - Disclosure - Net Sales by Product - Summary of Net Sales by Product (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureNetSalesByProductSummaryOfNetSalesByProduct</Role>
      <ShortName>Net Sales by Product - Summary of Net Sales by Product (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>143 - Disclosure - Stockholders' Equity - Additional information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureStockholdersEquityAdditionalInformation</Role>
      <ShortName>Stockholders' Equity - Additional information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>144 - Disclosure - Stockholders' Equity - Summary of Allocated Stock-based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureStockholdersEquitySummaryOfAllocatedStockbasedCompensationExpense</Role>
      <ShortName>Stockholders' Equity - Summary of Allocated Stock-based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>145 - Disclosure - Stockholders' Equity - Key Assumptions Used in Determining Fair Value of Options Granted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureStockholdersEquityKeyAssumptionsUsedInDeterminingFairValueOfOptionsGranted</Role>
      <ShortName>Stockholders' Equity - Key Assumptions Used in Determining Fair Value of Options Granted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>146 - Disclosure - Stockholders' Equity - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureStockholdersEquitySummaryOfStockOptionActivity</Role>
      <ShortName>Stockholders' Equity - Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>147 - Disclosure - Stockholders' Equity - Summary of Restricted Stock Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockActivity</Role>
      <ShortName>Stockholders' Equity - Summary of Restricted Stock Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>148 - Disclosure - Earnings per Common Share - Reconciliation of Numerators and Denominators of Basic and Diluted Earnings Per Common Share Computations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureEarningsPerCommonShareReconciliationOfNumeratorsAndDenominatorsOfBasicAndDilutedEarningsPerCommonShareComputations</Role>
      <ShortName>Earnings per Common Share - Reconciliation of Numerators and Denominators of Basic and Diluted Earnings Per Common Share Computations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="bdsi-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>149 - Disclosure - Earnings per Common Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bdsi.com/taxonomy/role/DisclosureEarningsPerCommonShareAdditionalInformation</Role>
      <ShortName>Earnings per Common Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>bdsi-20180930.xml</File>
    <File>bdsi-20180930.xsd</File>
    <File>bdsi-20180930_cal.xml</File>
    <File>bdsi-20180930_def.xml</File>
    <File>bdsi-20180930_lab.xml</File>
    <File>bdsi-20180930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
