2.4.0.8143 - Disclosure - Acquisition of Zacharon Pharmaceuticals Incorporated - Additional Information (Detail)truefalsefalse1false
USDfalsefalse$eol_PE7265----1310-Q0007_STD_4_20130104_0_712653x776664http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-01-04T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
falsefalseeol_PE7265----1310-Q0007_STD_181_20130630_0_712653x776664http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure01false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 1false
USDtruefalse$eol_PE7265----1310-Q0007_STD_4_20130104_0_712653x776664http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-01-04T00:00:00falsefalseZacharon Pharmaceuticals Incus-gaap_BusinessAcquisitionAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_ZacharonPharmaceuticalsIncorporatedMemberus-gaap_BusinessAcquisitionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
2true
3us-gaap_BusinessAcquisitionLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
3false
4bmrn_BusinessAcquisitionPurchasePricebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse1152000011520000USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Acquisition Purchase PriceNo definition available.false2
4false
4us-gaap_PaymentsToAcquireBusinessesGrossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse96630009663000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false2
5false
4us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCostsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse800000800000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition.No definition available.false2
6false
4bmrn_BusinessAcquisitionContingentConsiderationPotentialCashPaymentsbmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse134000000134000000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Acquisition, Contingent Consideration, Potential Cash PaymentsNo definition available.false2
7false
4us-gaap_BusinessCombinationContingentConsiderationLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse19000001900000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of liability recognized arising from contingent consideration in a business combination.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 30
-Section 35
-Paragraph 1
-Subparagraph b
-URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 30
-Section 25
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476
false2
8false
4bmrn_DiscountRateOfContingentAcquisitionConsiderationbmrn_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truetruefalse0.0470.047falsefalsefalse | num:percentItemTypepureDiscount Rate Of Contingent Acquisition ConsiderationNo definition available.false0
9false
4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1168000011680000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of intangible assets, excluding goodwill, acquired at the acquisition date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6910749&loc=d3e4845-128472
false2
10false
4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse19040001904000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of deferred tax asset attributable to deductible temporary differences and carryforwards that are expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6910749&loc=d3e4845-128472
false2
11false
4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse42130004213000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences due after one year or the normal operating cycle, if longer, assumed at the acquisition date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6910749&loc=d3e4845-128472
false2
12false
4us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwillus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse34320003432000USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of deferred tax liability attributable to taxable temporary differences from goodwill.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 740
-SubTopic 10
-Section 50
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32621-109319
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 740
-SubTopic 10
-Section 25
-Paragraph 20
-URI http://asc.fasb.org/extlink&oid=29652012&loc=d3e28680-109314
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 740
-SubTopic 10
-Section 50
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32632-109319
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 740
-Section 25
-Paragraph 9
-URI http://asc.fasb.org/extlink&oid=6912350&loc=d3e9979-128506
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 740
-Section 25
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6912350&loc=d3e9972-128506
false2
falseAcquisition of Zacharon Pharmaceuticals Incorporated - Additional Information (Detail) (Zacharon Pharmaceuticals Inc, USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureAcquisitionOfZacharonPharmaceuticalsIncorporatedAdditionalInformation212