2.4.0.8090200 - Disclosure - Basis of Presentation and Significant Accounting Policies (Details)truefalseIn Millions, unless otherwise specifiedfalse1false
truefalsec20130101to20130630_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMemberhttp://www.sec.gov/CIK0000791908duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberU005Standardhttp://xoma.com/20130630Customerxoma02false
truefalsec20120101to20120630_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMemberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberU005Standardhttp://xoma.com/20130630Customerxoma03false
truefalsec20120101to20121231_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMemberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-12-31T00:00:00falsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberU005Standardhttp://xoma.com/20130630Customerxoma04false
truefalsec20130101to20130630_ConcentrationRiskByBenchmarkAxis_SalesRevenueGoodsNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer1Memberhttp://www.sec.gov/CIK0000791908duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseRevenues [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SalesRevenueGoodsNetMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 1 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer1Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli05false
truefalsec20120101to20120630_ConcentrationRiskByBenchmarkAxis_SalesRevenueGoodsNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer1Memberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseRevenues [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SalesRevenueGoodsNetMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 1 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer1Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli06false
truefalsec20130101to20130630_ConcentrationRiskByBenchmarkAxis_SalesRevenueGoodsNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer2Memberhttp://www.sec.gov/CIK0000791908duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseRevenues [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SalesRevenueGoodsNetMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 2 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer2Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli07false
truefalsec20120101to20120630_ConcentrationRiskByBenchmarkAxis_SalesRevenueGoodsNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer2Memberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseRevenues [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SalesRevenueGoodsNetMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 2 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer2Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli08false
truefalsec20130101to20130630_ConcentrationRiskByBenchmarkAxis_AccountsReceivableMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer1Memberhttp://www.sec.gov/CIK0000791908duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseAccounts Receivable [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccountsReceivableMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 1 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer1Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli09false
truefalsec20120101to20121231_ConcentrationRiskByBenchmarkAxis_AccountsReceivableMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer1Memberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-12-31T00:00:00falsefalseAccounts Receivable [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccountsReceivableMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 1 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer1Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli010false
truefalsec20130101to20130630_ConcentrationRiskByBenchmarkAxis_AccountsReceivableMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer2Memberhttp://www.sec.gov/CIK0000791908duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseAccounts Receivable [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccountsReceivableMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 2 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer2Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli011false
truefalsec20120101to20121231_ConcentrationRiskByBenchmarkAxis_AccountsReceivableMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_Customer2Memberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-12-31T00:00:00falsefalseAccounts Receivable [Member]us-gaap_ConcentrationRiskByBenchmarkAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccountsReceivableMemberus-gaap_ConcentrationRiskByBenchmarkAxisexplicitMemberfalsefalseCustomer Concentration Risk [Member]us-gaap_ConcentrationRiskByTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CustomerConcentrationRiskMemberus-gaap_ConcentrationRiskByTypeAxisexplicitMemberfalsefalseCustomer 2 [Member]us-gaap_MajorCustomersAxisxbrldihttp://xbrl.org/2006/xbrldixoma_Customer2Memberus-gaap_MajorCustomersAxisexplicitMemberU006Standardhttp://www.xbrl.org/2003/instancepurexbrli012false
USDtruefalse$c20130401to20130630_LongLivedAssetsToBeAbandonedByAssetAxis_PropertyEquipmentBuildingAndLeaseholdImprovementsMemberhttp://www.sec.gov/CIK0000791908duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseProperty equipment building and leasehold improvements [Member]us-gaap_LongLivedAssetsToBeAbandonedByAssetAxisxbrldihttp://xbrl.org/2006/xbrldixoma_PropertyEquipmentBuildingAndLeaseholdImprovementsMemberus-gaap_LongLivedAssetsToBeAbandonedByAssetAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$13false
USDtruefalse$c20120401to20120630_LongLivedAssetsToBeAbandonedByAssetAxis_PropertyEquipmentBuildingAndLeaseholdImprovementsMemberhttp://www.sec.gov/CIK0000791908duration2012-04-01T00:00:002012-06-30T00:00:00falsefalseProperty equipment building and leasehold improvements [Member]us-gaap_LongLivedAssetsToBeAbandonedByAssetAxisxbrldihttp://xbrl.org/2006/xbrldixoma_PropertyEquipmentBuildingAndLeaseholdImprovementsMemberus-gaap_LongLivedAssetsToBeAbandonedByAssetAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$14false
USDtruefalse$c20120101to20120630_LongLivedAssetsToBeAbandonedByAssetAxis_PropertyEquipmentBuildingAndLeaseholdImprovementsMemberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseProperty equipment building and leasehold improvements [Member]us-gaap_LongLivedAssetsToBeAbandonedByAssetAxisxbrldihttp://xbrl.org/2006/xbrldixoma_PropertyEquipmentBuildingAndLeaseholdImprovementsMemberus-gaap_LongLivedAssetsToBeAbandonedByAssetAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
4us-gaap_LongLivedAssetsToBeAbandonedLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | 12falsefalsefalse00falsefalsefalse | 13falsefalsefalse00falsefalsefalse | 14falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
5us-gaap_RestructuringReserveAcceleratedDepreciationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | 12falsefalsefalse00falsefalsefalse | 13truefalsefalse4000000.4USD$falsetruefalse | 14truefalsefalse13000001.3USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of accelerated depreciation charged against earnings associated with exit from or disposal of business activities or restructuring plan.No definition available.false2
3false
5us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOfus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | 12truefalsefalse00USD$falsetruefalse | 13falsefalsefalse00falsefalsefalse | 14truefalsefalse8000000.8USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThe aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 45
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=8077374&loc=d3e2611-110228
false2
4true
4us-gaap_ConcentrationRiskLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | 12falsefalsefalse00falsefalsefalse | 13falsefalsefalse00falsefalsefalse | 14falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
5false
5xoma_NumberOfMajorCustomersxoma_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1truefalsefalse22falsefalsefalse | 2truefalsefalse22falsefalsefalse | 3truefalsefalse22falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | 7falsefalsefalse00falsefalsefalse | 8falsefalsefalse00falsefalsefalse | 9falsefalsefalse00falsefalsefalse | 10falsefalsefalse00falsefalsefalse | 11falsefalsefalse00falsefalsefalse | 12falsefalsefalse00falsefalsefalse | 13falsefalsefalse00falsefalsefalse | 14falsefalsefalse00falsefalsefalse | xbrli:integerItemTypeintegerNumber of external customers that accounts for 10 percent or more of an entity's revenues during the period.No definition available.false256
6false
5us-gaap_ConcentrationRiskPercentage1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsetruefalse00falsefalsefalse | 2falsetruefalse00falsefalsefalse | 3falsetruefalse00falsefalsefalse | 4truetruefalse0.680.68falsefalsefalse | 5truetruefalse0.410.41falsefalsefalse | 6truetruefalse0.250.25falsefalsefalse | 7truetruefalse0.370.37falsefalsefalse | 8truetruefalse0.490.49falsefalsefalse | 9truetruefalse0.580.58falsefalsefalse | 10truetruefalse0.420.42falsefalsefalse | 11truetruefalse0.350.35falsefalsefalse | 12falsetruefalse00falsefalsefalse | 13falsetruefalse00falsefalsefalse | 14falsetruefalse00falsefalsefalse | num:percentItemTypepureFor an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 21
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13537-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 275
-SubTopic 10
-Section 50
-Paragraph 20
-URI http://asc.fasb.org/extlink&oid=6927468&loc=d3e6404-108592
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 20
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13531-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 275
-SubTopic 10
-Section 50
-Paragraph 18
-URI http://asc.fasb.org/extlink&oid=6927468&loc=d3e6351-108592
false0
falseBasis of Presentation and Significant Accounting Policies (Details) (USD $)HundredThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://xoma.com/role/BasisOfPresentationAndSignificantAccountingPoliciesDetails146