2.4.0.8144 - Disclosure - Allocation of Purchase Consideration Including Contingent Acquisition Consideration Payable (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$3false 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$1true 3bmrn_ScheduleOfBusinessAcquisitionsPurchasePriceAllocationLineItemsbmrn_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_PaymentsToAcquireBusinessesGrossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse96630009663USD$falsetruefalsexbrli: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 false23false 4us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurredus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse18570001857falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liabilities incurred by the acquirer as part of consideration transferred in a business combination.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6405-128476 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 false24false 4bmrn_BusinessAcquisitionPurchasePricebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1152000011520falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Acquisition Purchase PriceNo definition available.false25false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalentsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse560000560falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.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 false26false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse216000216falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within 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 false27false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipmentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse398000398falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of property, plant, and equipment recognized as of 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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=25498275&loc=d3e2207-128464 false28false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse19040001904falsefalsefalsexbrli: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 false29false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse3800038falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of other assets 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 false210false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1168000011680falsefalsefalsexbrli: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 false211false 4bmrn_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedTangibleAssetsbmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1479600014796falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Tangible AssetsNo definition available.true212false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-1182000-1182falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, 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 false213false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-1313000-1313falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of long-term debt 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 false214false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-4213000-4213falsefalsefalsexbrli: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 false215false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-6708000-6708falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liabilities 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 true216false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse80880008088falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of assets 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 true217false 4us-gaap_Goodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5497500054975falsefalsefalse2truefalsefalse5154300051543[1]falsefalsefalse3truefalsefalse34320003432falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=14024403&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266 false218false 4us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1152000011520USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed.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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=25498275&loc=d3e2207-128464 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.falseAllocation of Purchase Consideration Including Contingent Acquisition Consideration Payable (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureAllocationOfPurchaseConsiderationIncludingContingentAcquisitionConsiderationPayable318