2.4.0.8151 - Disclosure - Schedule of Inventory (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 3us-gaap_CondensedFinancialStatementsCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_InventoryRawMaterialsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1482800014828USD$falsetruefalse2truefalsefalse1194300011943USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount before valuation and LIFO reserves of raw materials expected to be sold, or consumed within one year or operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 6 -Subparagraph a -Article 5 Reference 2: 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.6(a)(4)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false23false 4us-gaap_InventoryWorkInProcessus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7246400072464falsefalsefalse2truefalsefalse7144300071443falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before valuation and LIFO reserves of merchandise or goods in the production process expected to be completed within one year or operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 6 -Subparagraph a -Article 5 Reference 2: 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.6(a)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false24false 4us-gaap_InventoryFinishedGoodsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5500400055004falsefalsefalse2truefalsefalse4530900045309falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 6 -Subparagraph a -Article 5 Reference 2: 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.6(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 false25false 4us-gaap_InventoryNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse142296000142296USD$falsetruefalse2truefalsefalse128695000128695[1]USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.Reference 1: 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.6(a)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 35 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6386567&loc=d3e3927-108312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 true21December 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.falseSchedule of Inventory (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureScheduleOfInventory25