2.4.0.8162 - Disclosure - Stock Based Compensation - Additional Information (Detail)truefalseIn Millions, except Share data, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE7265----1310-Q0007_STD_181_20130630_0http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE7265----1310-Q0007_STD_182_20120630_0http://www.sec.gov/CIK0001048477duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falsetruefalseeol_PE7265----1310-Q0007_STD_181_20130630_0_711502x711169http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure04falsetruefalseeol_PE7265----1310-Q0007_STD_181_20130630_0_711502x716112http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure05falseUSDtruefalse$eol_PE7265----1310-Q0007_STD_181_20130630_0_713115x715834http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseRestricted Stock Units (RSUs)us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockUnitsRSUMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$6falsetruefalseeol_PE7265----1310-Q0007_STD_0_20120508_0_711502x716112_713879x791594http://www.sec.gov/CIK0001048477instant2012-05-08T00:00:000001-01-01T00:00:00falsefalse2012 Inducement Planus-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_InducementAwardsMemberus-gaap_PlanNameAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares07falseUSDtruefalse$eol_PE7265----1310-Q0007_STD_181_20130630_0_713115x770787_713879x746123http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseShare Incentive Planus-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_ShareIncentivePlanMemberus-gaap_PlanNameAxisexplicitMemberfalsefalsePerformance Awardsus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_PerformanceAwardsMemberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$1true3bmrn_CompensationRelatedCostsShareBasedPaymentsDisclosureLineItemsbmrn_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse750000750000falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)(3)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false13false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2.22.2falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNet number of share options (or share units) granted during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false14false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30.4530.45USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false35false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse497461497461falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(2)(iii)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false16false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValueus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse66.4966.49USD$falsetruefalse6falsefalsefalse00falsefalsefalse7truefalsefalse34.6634.66USD$falsetruefalsenum:perShareItemTypedecimalThe weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(2)(iii)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false37false4bmrn_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsRestrictedStockUnitsbmrn_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse860000860000falsefalsefalsexbrli:sharesItemTypesharesShare based compensation arrangement by share based payment award options restricted stock units.No definition available.false18false4bmrn_TotalShareholderReturnPercentageOfMultiplierRangebmrn_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsetruefalse00falsefalsefalse2falsetruefalse00falsefalsefalse3truetruefalse0.750.75falsefalsefalse4truetruefalse1.251.25falsefalsefalse5falsetruefalse00falsefalsefalse6falsetruefalse00falsefalsefalse7falsetruefalse00falsefalsefalsenum:percentItemTypepureTotal shareholder return, percentage of multiplier range.No definition available.false09false4bmrn_StockBasedCompensationCapitalizedToInventorybmrn_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse24000002.4USD$falsetruefalse2truefalsefalse19000001.9USD$falsetruefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryShare-based compensation expense capitalized into inventory during the reporting period.No definition available.false2falseStock Based Compensation - Additional Information (Detail) (USD $)HundredThousandsNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureStockBasedCompensationAdditionalInformation79