2.4.0.8142 - Disclosure - Nature of Operations and Business Risks - Additional Information (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE7265----1310-Q0007_STD_0_20121231_0http://www.sec.gov/CIK0001048477instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3bmrn_NatureOfOperationsLineItemsbmrn_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_RetainedEarningsAccumulatedDeficitus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-600791000-600791USD$falsetruefalse2truefalsefalse-539448000-539448[1]USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe cumulative amount of the reporting entity's undistributed earnings or deficit.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 31 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.31(a)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false21December 31, 2012 balances were derived from the audited Consolidated Financial Statements included in the Company's Annual Report on Form 10-K for the year ended December 31, 2012, filed with the Securities and Exchange Commission (the SEC) on February 26, 2013.falseNature of Operations and Business Risks - Additional Information (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureNatureOfOperationsAndBusinessRisksAdditionalInformation22