<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Version>2.4.0.6</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>210</ContextCount>
  <ElementCount>354</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>67</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0110 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/BalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0111 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/BalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0120 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0130 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StatementsOfStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0140 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0141 - Statement - Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StatementOfCashFlowsParenthertical</Role>
      <ShortName>Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0201 - Disclosure - Nature of Business and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0202 - Disclosure - Liquidity and Management's Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/LiquidityAndManagementsPlans</Role>
      <ShortName>Liquidity and Management's Plans</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0203 - Disclosure - Research and Development Arrangements and Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/ResearchAndDevelopmentArrangementsAndRelatedPartyTransactions</Role>
      <ShortName>Research and Development Arrangements and Related Party Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0204 - Disclosure - Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/Equipment</Role>
      <ShortName>Equipment</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0205 - Disclosure - Meda License, Development and Supply Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/MedaLicenseDevelopmentAndSupplyAgreements</Role>
      <ShortName>Meda License, Development and Supply Agreements</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0206 - Disclosure - Endo License and Development Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/EndoLicenseAndDevelopmentAgreement</Role>
      <ShortName>Endo License and Development Agreement</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0207 - Disclosure - Other license agreements and acquired product rights</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/OtherLicenseAgreementsAndAcquiredProductRights</Role>
      <ShortName>Other license agreements and acquired product rights</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0208 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0209 - Disclosure - Sponsored Research</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/SponsoredResearch</Role>
      <ShortName>Sponsored Research</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0210 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0211 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0212 - Disclosure - Retirement Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/RetirementPlan</Role>
      <ShortName>Retirement Plan</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0213 - Disclosure - Impairment of License</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/ImpairmentOfLicense</Role>
      <ShortName>Impairment of License</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0214 - Disclosure - Commitments and contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0215 - Disclosure - Restatements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/Restatements</Role>
      <ShortName>Restatements</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0216 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0301 - Schedule - Valuation and Qualifying Accounts and Reserves</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/ValuationAndQualifyingAccountsAndReserves</Role>
      <ShortName>Valuation and Qualifying Accounts and Reserves</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0401 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0501 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0504 - Disclosure - Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/EquipmentTables</Role>
      <ShortName>Equipment (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0505 - Disclosure - Meda License, Development and Supply Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/MedaLicenseDevelopmentAndSupplyAgreementsTables</Role>
      <ShortName>Meda License, Development and Supply Agreements (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0508 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0510 - Disclosure - Income Taxes (Table)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/IncomeTaxesTable</Role>
      <ShortName>Income Taxes (Table)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0511 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0514 - Disclosure - Commitments and contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and contingencies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0515 - Disclosure - Restatements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/RestatementsTables</Role>
      <ShortName>Restatements (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0601 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>06011 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails1</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>06012 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails2</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>06013 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails3</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details 3)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>06014 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails4</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details 4)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>06015 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails5</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details 5)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>06016 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details 6)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails6</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details 6)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>06017 - Disclosure - Nature of Business and Summary of Significant Accounting Policies (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/NatureOfBusinessAndSummaryOfSignificantAccountingPoliciesDetailsTextual</Role>
      <ShortName>Nature of Business and Summary of Significant Accounting Policies (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0602 - Disclosure - Liquidity and Management's Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/LiquidityAndManagementsPlansTextual</Role>
      <ShortName>Liquidity and Management's Plans (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0603 - Disclosure - Research and Development Arrangements and Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/ResearchAndDevelopmentArrangementsAndRelatedPartyTransactionsDetails</Role>
      <ShortName>Research and Development Arrangements and Related Party Transactions (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0604 - Disclosure - Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/EquipmentDetails</Role>
      <ShortName>Equipment (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>06041 - Disclosure - Equipment (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/EquipmentDetailsTextual</Role>
      <ShortName>Equipment (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0605 - Disclosure - Meda License, Development and Supply Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/MedaLicenseDevelopmentAndSupplyAgreementDetails</Role>
      <ShortName>Meda License, Development and Supply Agreements (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>06051 - Disclosure - Meda License, Development and Supply Agreements (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/MedaLicenseDevelopmentAndSupplyAgreementDetailsTextual</Role>
      <ShortName>Meda License, Development and Supply Agreements (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0606 - Disclosure - Endo License and Development Agreement (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/EndoLicenseAndDevelopmentAgreementDetailsTextual</Role>
      <ShortName>Endo License and Development Agreement (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0607 - Disclosure - Other License Agreements and Acquired Product Rights (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/OtherLicenseAgreementsAndAcquiredProductRightsTextual</Role>
      <ShortName>Other License Agreements and Acquired Product Rights (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0608 - Disclosure - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/DerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>06081 - Disclosure - Derivative Financial Instruments (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/DerivativeFinancialInstrumentsDetails1</Role>
      <ShortName>Derivative Financial Instruments (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0609 - Disclosure - Sponsored Research (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/SponsoredResearchDetailsTextual</Role>
      <ShortName>Sponsored Research (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0610 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>06101 - Disclosure - Income Taxes (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/IncomeTaxesDetails1</Role>
      <ShortName>Income Taxes (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>06102 - Disclosure - Income Taxes (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/IncomeTaxesDetailsTextual</Role>
      <ShortName>Income Taxes (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0611 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>06111 - Disclosure - Stockholders' Equity (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityDetailsOne</Role>
      <ShortName>Stockholders' Equity (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>06112 - Disclosure - Stockholders' Equity (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityDetailsTwo</Role>
      <ShortName>Stockholders' Equity (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>06113 - Disclosure - Stockholders' Equity (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityDetailsThree</Role>
      <ShortName>Stockholders' Equity (Details 3)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>06114 - Disclosure - Stockholders' Equity (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityDetailsFour</Role>
      <ShortName>Stockholders' Equity (Details 4)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>06115 - Disclosure - Stockholders' Equity (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/StockholdersEquityDetailsTextual</Role>
      <ShortName>Stockholders' Equity (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0612 - Disclosure - Retirement Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/RetirementPlanDetails</Role>
      <ShortName>Retirement Plan (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0613 - Disclosure - Impairment of License (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/ImpairmentOfLicenseDetails</Role>
      <ShortName>Impairment of License (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0614 - Disclosure - Commitments and contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and contingencies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>06141 - Disclosure - Commitments and contingencies (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/CommitmentsAndContingenciesDetailsTextuals</Role>
      <ShortName>Commitments and contingencies (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0615 - Disclosure - Restatements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/RestatementsDetails</Role>
      <ShortName>Restatements (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>06151 - Disclosure - Restatements (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/RestatementsDetailsTextual</Role>
      <ShortName>Restatements (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0616 - Disclosure - Subsequent Events (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/SubsequentEventsDetailsTextual</Role>
      <ShortName>Subsequent Events (Details Textual)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0701 - Schedule - Valuation And Qualifying Accounts And Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bdsi.com/role/ValuationAndQualifyingAccountsAndReservesDetails</Role>
      <ShortName>Valuation And Qualifying Accounts And Reserves (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">Element bdsi_ConsiderationPercentageOfFuturePotentialRevenuesFromRelatedParty had a mix of decimals attribute values: 2 3.</Log>
    <Log type="Info">Element bdsi_MilestonePayments had a mix of decimals attribute values: -6 -5.</Log>
    <Log type="Info">Element bdsi_PaymentForPromissoryNotes had a mix of decimals attribute values: -6 -4.</Log>
    <Log type="Info">Element bdsi_PricePerShareOfCommonStock had a mix of decimals attribute values: 0 2.</Log>
    <Log type="Info">Element bdsi_PromissoryNoteAsPurchaseConsideration had a mix of decimals attribute values: -6 -4.</Log>
    <Log type="Info">Element us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights had a mix of decimals attribute values: -6 0.</Log>
    <Log type="Info">Element us-gaap_CostOfRevenue had a mix of decimals attribute values: -5 0.</Log>
    <Log type="Info">Element us-gaap_DeferredRevenue had a mix of decimals attribute values: -5 0.</Log>
    <Log type="Info">Element us-gaap_OperatingLossCarryforwards had a mix of decimals attribute values: -6 -5.</Log>
    <Log type="Info">Element us-gaap_RevenueFromGrants had a mix of decimals attribute values: -5 0.</Log>
    <Log type="Info">Element us-gaap_RoyaltyExpense had a mix of decimals attribute values: -5 0.</Log>
    <Log type="Info">Element us-gaap_RoyaltyRevenue had a mix of decimals attribute values: -6 -5 0.</Log>
    <Log type="Info">'Monetary' elements on report '0603 - Disclosure - Research and Development Arrangements and Related Party Transactions (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '0606 - Disclosure - Endo License and Development Agreement (Details Textual)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '06115 - Disclosure - Stockholders' Equity (Details Textual)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '0613 - Disclosure - Impairment of License (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '06141 - Disclosure - Commitments and contingencies (Details Textual)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">Process Flow-Through: 0110 - Statement - Consolidated Balance Sheets</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 03, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Sep. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jun. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Mar. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2010'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2009'</Log>
    <Log type="Info">Process Flow-Through: 0111 - Statement - Consolidated Balance Sheets (Parenthetical)</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 03, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Nov. 30, 2012
Series A Non-Voting Convertible Preferred Stock'</Log>
    <Log type="Info">Process Flow-Through: 0120 - Statement - Consolidated Statements of Operations</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Sep. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Jun. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Mar. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '6 Months Ended
Jun. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '9 Months Ended
Sep. 30, 2012'</Log>
    <Log type="Info">Process Flow-Through: 0140 - Statement - Consolidated Statements of Cash Flows</Log>
    <Log type="Info">Process Flow-Through: 0141 - Statement - Consolidated Statements of Cash Flows (Parenthetical)</Log>
  </Logs>
  <InputFiles>
    <File>bdsi-20121231.xml</File>
    <File>bdsi-20121231.xsd</File>
    <File>bdsi-20121231_cal.xml</File>
    <File>bdsi-20121231_def.xml</File>
    <File>bdsi-20121231_lab.xml</File>
    <File>bdsi-20121231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
