2.4.0.8161 - Disclosure - Fair Value Measurement - Additional Information (Detail)truefalseIn Millions, unless otherwise specifiedfalse1falseUSDfalsefalse$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$2falseUSDfalsefalse$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$1true3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_AssetRetirementObligationus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse40000004.0USD$falsetruefalse2truefalsefalse39000003.9USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Asset Retirement Obligation
-URI http://asc.fasb.org/extlink&oid=6505190
false2falseFair Value Measurement - Additional Information (Detail) (USD $)HundredThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureFairValueMeasurementAdditionalInformation22