<?xml version="1.0" encoding="US-ASCII"?>  
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->     
<!-- Created: Fri Apr 29 19:30:30 UTC 2016 -->  
<xs:schema elementFormDefault="qualified" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:oiim="http://www.o2micro.com/20151231" targetNamespace="http://www.o2micro.com/20151231" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2016-01-31" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance"> 
  <xs:annotation>   
    <xs:appinfo>  
      <link:linkbaseRef xlink:type="simple" xlink:href="oiim-20151231_lab.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef"/> 
      <link:linkbaseRef xlink:type="simple" xlink:href="oiim-20151231_pre.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef"/>   
      <link:linkbaseRef xlink:type="simple" xlink:href="oiim-20151231_def.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef"/> 
      <link:linkbaseRef xlink:type="simple" xlink:href="oiim-20151231_cal.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef"/>  
      <link:roleType roleURI="http://www.o2micro.com/role/ConsolidatedBalanceSheet" id="oiim_r_ConsolidatedBalanceSheet">  
        <link:definition>001 - Statement - Consolidated Balance Sheets</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ConsolidatedBalanceSheet_Parentheticals" id="oiim_r_ConsolidatedBalanceSheet_Parentheticals">  
        <link:definition>002 - Statement - Consolidated Balance Sheets (Parentheticals)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ConsolidatedIncomeStatement" id="oiim_r_ConsolidatedIncomeStatement">   
        <link:definition>003 - Statement - Consolidated Statements of Operations and Comprehensive Income</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ShareholdersEquityType2or3" id="oiim_r_ShareholdersEquityType2or3"> 
        <link:definition>004 - Statement - Consolidated Statements of Shareholders' Equity</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ShareholdersEquityType2or3_Parentheticals" id="oiim_r_ShareholdersEquityType2or3_Parentheticals"> 
        <link:definition>005 - Statement - Consolidated Statements of Shareholders' Equity (Parentheticals)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ConsolidatedCashFlow" id="oiim_r_ConsolidatedCashFlow">    
        <link:definition>006 - Statement - Consolidated Statements of Cash Flows</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note1General" id="oiim_r_Note1General">   
        <link:definition>007 - Disclosure - Note 1 - General</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note2SummaryofSignificantAccountingPolicies" id="oiim_r_Note2SummaryofSignificantAccountingPolicies">     
        <link:definition>008 - Disclosure - Note 2 - Summary of Significant Accounting Policies</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note3DiscontinuedOperationsandExitActivities" id="oiim_r_Note3DiscontinuedOperationsandExitActivities">  
        <link:definition>009 - Disclosure - Note 3 - Discontinued Operations and Exit Activities</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note4FairValueMeasurements" id="oiim_r_Note4FairValueMeasurements"> 
        <link:definition>010 - Disclosure - Note 4 - Fair Value Measurements</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note5CashandCashEquivalents" id="oiim_r_Note5CashandCashEquivalents">   
        <link:definition>011 - Disclosure - Note 5 - Cash and Cash Equivalents</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note6ShorttermInvestments" id="oiim_r_Note6ShorttermInvestments">    
        <link:definition>012 - Disclosure - Note 6 - Short-term Investments</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note7Inventories" id="oiim_r_Note7Inventories"> 
        <link:definition>013 - Disclosure - Note 7 - Inventories</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note8PrepaidExpensesandOtherCurrentAssets" id="oiim_r_Note8PrepaidExpensesandOtherCurrentAssets"> 
        <link:definition>014 - Disclosure - Note 8 - Prepaid Expenses and Other Current Assets</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note9LongtermInvestments" id="oiim_r_Note9LongtermInvestments">  
        <link:definition>015 - Disclosure - Note 9 - Long-term Investments</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note10PropertyandEquipmentNet" id="oiim_r_Note10PropertyandEquipmentNet">  
        <link:definition>016 - Disclosure - Note 10 - Property and Equipment, Net</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note11OtherAssets" id="oiim_r_Note11OtherAssets">   
        <link:definition>017 - Disclosure - Note 11 - Other Assets</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note12AccruedExpensesandOtherCurrentLiabilities" id="oiim_r_Note12AccruedExpensesandOtherCurrentLiabilities">   
        <link:definition>018 - Disclosure - Note 12 - Accrued Expenses and Other Current Liabilities</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note13IncomeTax" id="oiim_r_Note13IncomeTax">    
        <link:definition>019 - Disclosure - Note 13 - Income Tax</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note14RetirementandPensionPlans" id="oiim_r_Note14RetirementandPensionPlans"> 
        <link:definition>020 - Disclosure - Note 14 - Retirement and Pension Plans</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note15StockbasedCompensation" id="oiim_r_Note15StockbasedCompensation">     
        <link:definition>021 - Disclosure - Note 15 - Stock-based Compensation</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note16EarningsLossPerShare" id="oiim_r_Note16EarningsLossPerShare"> 
        <link:definition>022 - Disclosure - Note 16 - Earnings (Loss) Per Share</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note17Commitments" id="oiim_r_Note17Commitments">   
        <link:definition>023 - Disclosure - Note 17 - Commitments</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note18Contingencies" id="oiim_r_Note18Contingencies">  
        <link:definition>024 - Disclosure - Note 18 - Contingencies</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note19FinancialInstruments" id="oiim_r_Note19FinancialInstruments"> 
        <link:definition>025 - Disclosure - Note 19 - Financial Instruments</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note20SegmentInformation" id="oiim_r_Note20SegmentInformation">  
        <link:definition>026 - Disclosure - Note 20 - Segment Information</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/AccountingPoliciesByPolicy" id="oiim_r_AccountingPoliciesByPolicy"> 
        <link:definition>027 - Disclosure - Accounting Policies, by Policy (Policies)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note4FairValueMeasurementsTables" id="oiim_r_Note4FairValueMeasurementsTables">   
        <link:definition>028 - Disclosure - Note 4 - Fair Value Measurements (Tables)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note5CashandCashEquivalentsTables" id="oiim_r_Note5CashandCashEquivalentsTables">     
        <link:definition>029 - Disclosure - Note 5 - Cash and Cash Equivalents (Tables)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note6ShorttermInvestmentsTables" id="oiim_r_Note6ShorttermInvestmentsTables"> 
        <link:definition>030 - Disclosure - Note 6 - Short-term Investments (Tables)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note7InventoriesTables" id="oiim_r_Note7InventoriesTables">   
        <link:definition>031 - Disclosure - Note 7 - Inventories (Tables)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note8PrepaidExpensesandOtherCurrentAssetsTables" id="oiim_r_Note8PrepaidExpensesandOtherCurrentAssetsTables">   
        <link:definition>032 - Disclosure - Note 8 - Prepaid Expenses and Other Current Assets (Tables)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note9LongtermInvestmentsTables" id="oiim_r_Note9LongtermInvestmentsTables">    
        <link:definition>033 - Disclosure - Note 9 - Long-term Investments (Tables)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note10PropertyandEquipmentNetTables" id="oiim_r_Note10PropertyandEquipmentNetTables">    
        <link:definition>034 - Disclosure - Note 10 - Property and Equipment, Net (Tables)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note11OtherAssetsTables" id="oiim_r_Note11OtherAssetsTables">     
        <link:definition>035 - Disclosure - Note 11 - Other Assets (Tables)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note12AccruedExpensesandOtherCurrentLiabilitiesTables" id="oiim_r_Note12AccruedExpensesandOtherCurrentLiabilitiesTables">     
        <link:definition>036 - Disclosure - Note 12 - Accrued Expenses and Other Current Liabilities (Tables)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note13IncomeTaxTables" id="oiim_r_Note13IncomeTaxTables"> 
        <link:definition>037 - Disclosure - Note 13 - Income Tax (Tables)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note14RetirementandPensionPlansTables" id="oiim_r_Note14RetirementandPensionPlansTables">   
        <link:definition>038 - Disclosure - Note 14 - Retirement and Pension Plans (Tables)</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note15StockbasedCompensationTables" id="oiim_r_Note15StockbasedCompensationTables">  
        <link:definition>039 - Disclosure - Note 15 - Stock-based Compensation (Tables)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note16EarningsLossPerShareTables" id="oiim_r_Note16EarningsLossPerShareTables">   
        <link:definition>040 - Disclosure - Note 16 - Earnings (Loss) Per Share (Tables)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note17CommitmentsTables" id="oiim_r_Note17CommitmentsTables">     
        <link:definition>041 - Disclosure - Note 17 - Commitments (Tables)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note19FinancialInstrumentsTables" id="oiim_r_Note19FinancialInstrumentsTables">   
        <link:definition>042 - Disclosure - Note 19 - Financial Instruments (Tables)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note20SegmentInformationTables" id="oiim_r_Note20SegmentInformationTables">    
        <link:definition>043 - Disclosure - Note 20 - Segment Information (Tables)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note2SummaryofSignificantAccountingPoliciesDetails" id="oiim_r_Note2SummaryofSignificantAccountingPoliciesDetails">    
        <link:definition>044 - Disclosure - Note 2 - Summary of Significant Accounting Policies (Details)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note3DiscontinuedOperationsandExitActivitiesDetails" id="oiim_r_Note3DiscontinuedOperationsandExitActivitiesDetails"> 
        <link:definition>045 - Disclosure - Note 3 - Discontinued Operations and Exit Activities (Details)</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note4FairValueMeasurementsDetails" id="oiim_r_Note4FairValueMeasurementsDetails">     
        <link:definition>046 - Disclosure - Note 4 - Fair Value Measurements (Details)</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ItemsMeasuredatFairValueonaRecurringBasisTable" id="oiim_r_ItemsMeasuredatFairValueonaRecurringBasisTable"> 
        <link:definition>047 - Disclosure - Note 4 - Fair Value Measurements (Details) - Items Measured at Fair Value on a Recurring Basis</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ItemsMeasuredatFairValueonaNonrecurringBasisTable" id="oiim_r_ItemsMeasuredatFairValueonaNonrecurringBasisTable">  
        <link:definition>048 - Disclosure - Note 4 - Fair Value Measurements (Details) - Items Measured at Fair Value on a Nonrecurring Basis</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofCashandCashEquivalentsTable" id="oiim_r_SummaryofCashandCashEquivalentsTable"> 
        <link:definition>049 - Disclosure - Note 5 - Cash and Cash Equivalents (Details) - Summary of Cash and Cash Equivalents</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note6ShorttermInvestmentsDetails" id="oiim_r_Note6ShorttermInvestmentsDetails">   
        <link:definition>050 - Disclosure - Note 6 - Short-term Investments (Details)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofShorttermInvestmentsTable" id="oiim_r_SummaryofShorttermInvestmentsTable">  
        <link:definition>051 - Disclosure - Note 6 - Short-term Investments (Details) - Summary of Short-term Investments</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofShorttermInvestmentsbyContractualMaturityTable" id="oiim_r_SummaryofShorttermInvestmentsbyContractualMaturityTable">    
        <link:definition>052 - Disclosure - Note 6 - Short-term Investments (Details) - Summary of Short-term Investments by Contractual Maturity</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofInventoryTable" id="oiim_r_SummaryofInventoryTable">     
        <link:definition>053 - Disclosure - Note 7 - Inventories (Details) - Summary of Inventory</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofPrepaidExpensesandOtherCurrentAssetsTable" id="oiim_r_SummaryofPrepaidExpensesandOtherCurrentAssetsTable">    
        <link:definition>054 - Disclosure - Note 8 - Prepaid Expenses and Other Current Assets (Details) - Summary of Prepaid Expenses and Other Current Assets</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note9LongtermInvestmentsDetails" id="oiim_r_Note9LongtermInvestmentsDetails"> 
        <link:definition>055 - Disclosure - Note 9 - Long-term Investments (Details)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/LongtermInvestmentsTable" id="oiim_r_LongtermInvestmentsTable">  
        <link:definition>056 - Disclosure - Note 9 - Long-term Investments (Details) - Long-term Investments</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/GrossUnrealizedGainsandLossofAvailableforsaleSecuritiesTable" id="oiim_r_GrossUnrealizedGainsandLossofAvailableforsaleSecuritiesTable">    
        <link:definition>057 - Disclosure - Note 9 - Long-term Investments (Details) - Gross Unrealized Gains and Loss of Available-for-sale Securities</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note10PropertyandEquipmentNetDetails" id="oiim_r_Note10PropertyandEquipmentNetDetails"> 
        <link:definition>058 - Disclosure - Note 10 - Property and Equipment, Net (Details)</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofPropertyandEquipmentNetTable" id="oiim_r_SummaryofPropertyandEquipmentNetTable">   
        <link:definition>059 - Disclosure - Note 10 - Property and Equipment, Net (Details) - Summary of Property and Equipment, Net</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note11OtherAssetsDetails" id="oiim_r_Note11OtherAssetsDetails">  
        <link:definition>060 - Disclosure - Note 11 - Other Assets (Details)</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofOtherAssetsTable" id="oiim_r_SummaryofOtherAssetsTable">    
        <link:definition>061 - Disclosure - Note 11 - Other Assets (Details) - Summary of Other Assets</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofAccruedExpensesandOtherCurrentLiabilitiesTable" id="oiim_r_SummaryofAccruedExpensesandOtherCurrentLiabilitiesTable">    
        <link:definition>062 - Disclosure - Note 12 - Accrued Expenses and Other Current Liabilities (Details) - Summary of Accrued Expenses and Other Current Liabilities</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note13IncomeTaxDetails" id="oiim_r_Note13IncomeTaxDetails">   
        <link:definition>063 - Disclosure - Note 13 - Income Tax (Details)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofIncomeLossBeforeIncomeTaxesfromContinuingOperationsTable" id="oiim_r_SummaryofIncomeLossBeforeIncomeTaxesfromContinuingOperationsTable">    
        <link:definition>064 - Disclosure - Note 13 - Income Tax (Details) - Summary of Income (Loss) Before Income Taxes from Continuing Operations</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt8UCLPdYZl35nXbOCDIyGTqrowG2INEsunomyu23TgMMkIvj0OYAgwKRa09rUQO1EdrJS6FwcAUlSZhZTPNOxhaagUAiegD/MQpuq7cmK3mWKKwxU2mTnbJpm3VVwKRB28P+HOzYf5NLPU9SFuEj2p+YghMcZAlpQej4mheIp3lRjdXC8RkimuK+NK6XvSuVcGTe+bC/viC+zu8yHo72wyh] CSR-->  
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofIncomeTaxExpensefromContinuingOperationsTable" id="oiim_r_SummaryofIncomeTaxExpensefromContinuingOperationsTable">  
        <link:definition>065 - Disclosure - Note 13 - Income Tax (Details) - Summary of Income Tax Expense from Continuing Operations</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ReconciliationBetweenStatutoryIncomeTaxRateandtheEffectiveIncomeTaxRateTable" id="oiim_r_ReconciliationBetweenStatutoryIncomeTaxRateandtheEffectiveIncomeTaxRateTable"> 
        <link:definition>066 - Disclosure - Note 13 - Income Tax (Details) - Reconciliation Between Statutory Income Tax Rate and the Effective Income Tax Rate</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofDeferredTaxAssetsandLiabilitiesTable" id="oiim_r_SummaryofDeferredTaxAssetsandLiabilitiesTable">    
        <link:definition>067 - Disclosure - Note 13 - Income Tax (Details) - Summary of Deferred Tax Assets and Liabilities</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note14RetirementandPensionPlansDetails" id="oiim_r_Note14RetirementandPensionPlansDetails">     
        <link:definition>068 - Disclosure - Note 14 - Retirement and Pension Plans (Details)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/PercentageofMajorCategoryofPlanAssetsUnderReviewTable" id="oiim_r_PercentageofMajorCategoryofPlanAssetsUnderReviewTable">     
        <link:definition>069 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Percentage of Major Category of Plan Assets (Under Review)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ChangesinProjectedBenefitObligationandPlanAssetsTable" id="oiim_r_ChangesinProjectedBenefitObligationandPlanAssetsTable">     
        <link:definition>070 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Changes in Projected Benefit Obligation and Plan Assets</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofNetPeriodicBenefitCostTable" id="oiim_r_SummaryofNetPeriodicBenefitCostTable"> 
        <link:definition>071 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Summary of Net Periodic Benefit Cost</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofFundedStatusofthePlanTable" id="oiim_r_SummaryofFundedStatusofthePlanTable">    
        <link:definition>072 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Summary of Funded Status of the Plan</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ActuarialAssumptionstoDetermineBenefitObligationsUnderReviewTable" id="oiim_r_ActuarialAssumptionstoDetermineBenefitObligationsUnderReviewTable">    
        <link:definition>073 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Actuarial Assumptions to Determine Benefit Obligations (Under Review)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/ActuarialAssumptionstoDeterminetheNetPeriodicBenefitCostUnderReviewTable" id="oiim_r_ActuarialAssumptionstoDeterminetheNetPeriodicBenefitCostUnderReviewTable">   
        <link:definition>074 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Actuarial Assumptions to Determine the Net Periodic Benefit Cost (Under Review)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofEstimatedFutureBenefitPaymentsTable" id="oiim_r_SummaryofEstimatedFutureBenefitPaymentsTable">  
        <link:definition>075 - Disclosure - Note 14 - Retirement and Pension Plans (Details) - Summary of Estimated Future Benefit Payments</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note15StockbasedCompensationDetails" id="oiim_r_Note15StockbasedCompensationDetails">    
        <link:definition>076 - Disclosure - Note 15 - Stock-based Compensation (Details)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/StockOptionActivityTable" id="oiim_r_StockOptionActivityTable">  
        <link:definition>077 - Disclosure - Note 15 - Stock-based Compensation (Details) - Stock Option Activity</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/OptionsOutstandingandVestedStockOptionsTable" id="oiim_r_OptionsOutstandingandVestedStockOptionsTable">  
        <link:definition>078 - Disclosure - Note 15 - Stock-based Compensation (Details) - Options Outstanding and Vested Stock Options</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/FairValueAssumptionsofStockOptionsandESOPTable" id="oiim_r_FairValueAssumptionsofStockOptionsandESOPTable"> 
        <link:definition>079 - Disclosure - Note 15 - Stock-based Compensation (Details) - Fair Value Assumptions of Stock Options and ESOP</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/RSUsActivityTable" id="oiim_r_RSUsActivityTable">   
        <link:definition>080 - Disclosure - Note 15 - Stock-based Compensation (Details) - RSUs Activity</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/OrdinarySharesReservedforFutureIssuanceTable" id="oiim_r_OrdinarySharesReservedforFutureIssuanceTable">  
        <link:definition>081 - Disclosure - Note 15 - Stock-based Compensation (Details) - Ordinary Shares Reserved for Future Issuance</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note16EarningsLossPerShareDetails" id="oiim_r_Note16EarningsLossPerShareDetails">     
        <link:definition>082 - Disclosure - Note 16 - Earnings (Loss) Per Share (Details)</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/BasicandDilutedEarningsLossPerShareTable" id="oiim_r_BasicandDilutedEarningsLossPerShareTable">    
        <link:definition>083 - Disclosure - Note 16 - Earnings (Loss) Per Share (Details) - Basic and Diluted Earnings (Loss) Per Share</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note17CommitmentsDetails" id="oiim_r_Note17CommitmentsDetails">  
        <link:definition>084 - Disclosure - Note 17 - Commitments (Details)</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/FutureMinimumLeasePaymentsforAllNoncancelableOperatingLeasesTable" id="oiim_r_FutureMinimumLeasePaymentsforAllNoncancelableOperatingLeasesTable">    
        <link:definition>085 - Disclosure - Note 17 - Commitments (Details) - Future Minimum Lease Payments for All Noncancelable Operating Leases</link:definition>     
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/PurchaseObligationsandCommitmentsTable" id="oiim_r_PurchaseObligationsandCommitmentsTable">     
        <link:definition>086 - Disclosure - Note 17 - Commitments (Details) - Purchase Obligations and Commitments</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note18ContingenciesDetails" id="oiim_r_Note18ContingenciesDetails"> 
        <link:definition>087 - Disclosure - Note 18 - Contingencies (Details)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/FinancialInstrumentsTable" id="oiim_r_FinancialInstrumentsTable">    
        <link:definition>088 - Disclosure - Note 19 - Financial Instruments (Details) - Financial Instruments</link:definition>   
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/Note20SegmentInformationDetails" id="oiim_r_Note20SegmentInformationDetails"> 
        <link:definition>089 - Disclosure - Note 20 - Segment Information (Details)</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofOperatingSegmentNetSalesandOperatingIncomeLossTable" id="oiim_r_SummaryofOperatingSegmentNetSalesandOperatingIncomeLossTable">    
        <link:definition>090 - Disclosure - Note 20 - Segment Information (Details) - Summary of Operating Segment Net Sales and Operating Income (Loss)</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofNetSalestoUnaffiliatedCustomersbyGeographicRegionTable" id="oiim_r_SummaryofNetSalestoUnaffiliatedCustomersbyGeographicRegionTable">     
        <link:definition>091 - Disclosure - Note 20 - Segment Information (Details) - Summary of Net Sales to Unaffiliated Customers by Geographic Region</link:definition>  
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/PercentageofNetSalestoMajorCustomerTable" id="oiim_r_PercentageofNetSalestoMajorCustomerTable">    
        <link:definition>092 - Disclosure - Note 20 - Segment Information (Details) - Percentage of Net Sales to Major Customer</link:definition> 
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/SummaryofLongLivedAssetsbyPhysicalLocationTable" id="oiim_r_SummaryofLongLivedAssetsbyPhysicalLocationTable">   
        <link:definition>093 - Disclosure - Note 20 - Segment Information (Details) - Summary of Long Lived Assets by Physical Location</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
      <link:roleType roleURI="http://www.o2micro.com/role/DocumentAndEntityInformation" id="DocumentAndEntityInformation">   
        <link:definition>000 - Disclosure - Document And Entity Information</link:definition>    
        <link:usedOn>link:presentationLink</link:usedOn>  
        <link:usedOn>link:definitionLink</link:usedOn>     
        <link:usedOn>link:calculationLink</link:usedOn> 
      </link:roleType>   
    </xs:appinfo>   
  </xs:annotation>    
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>  
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>  
  <xs:import namespace="http://fasb.org/us-types/2016-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2016/elts/us-types-2016-01-31.xsd"/>   
  <xs:import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd"/>   
  <xs:import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd"/>     
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>   
  <xs:element name="ItemsMeasuredAtFairValueOnARecurringBasisAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ItemsMeasuredAtFairValueOnARecurringBasisAbstract"/>  
  <xs:element name="ItemsMeasuredAtFairValueOnANonrecurringBasisAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ItemsMeasuredAtFairValueOnANonrecurringBasisAbstract"/>   
  <xs:element name="SummaryOfCashAndCashEquivalentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfCashAndCashEquivalentsAbstract"/>  
  <xs:element name="SummaryOfShortTermInvestmentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfShortTermInvestmentsAbstract"/>   
  <xs:element name="SummaryOfShortTermInvestmentsByContractualMaturityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfShortTermInvestmentsByContractualMaturityAbstract"/>     
  <xs:element name="SummaryOfInventoryAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfInventoryAbstract"/> 
  <xs:element name="PrepaidExpensesAndOtherCurrentAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PrepaidExpensesAndOtherCurrentAssetsAbstract"/>  
  <xs:element name="SummaryOfPrepaidExpensesAndOtherCurrentAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfPrepaidExpensesAndOtherCurrentAssetsAbstract"/>     
  <xs:element name="GrossUnrealizedGainsAndLossOfAvailableForSaleSecuritiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_GrossUnrealizedGainsAndLossOfAvailableForSaleSecuritiesAbstract"/>     
  <xs:element name="SummaryOfPropertyAndEquipmentNetAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfPropertyAndEquipmentNetAbstract"/>    
  <xs:element name="SummaryOfOtherAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfOtherAssetsAbstract"/>     
  <xs:element name="SummaryOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>     
  <xs:element name="SummaryOfIncomeLossBeforeIncomeTaxesFromContinuingOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfIncomeLossBeforeIncomeTaxesFromContinuingOperationsAbstract"/>     
  <xs:element name="SummaryOfIncomeTaxExpenseFromContinuingOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfIncomeTaxExpenseFromContinuingOperationsAbstract"/>   
  <xs:element name="ReconciliationBetweenStatutoryIncomeTaxRateAndTheEffectiveIncomeTaxRateAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ReconciliationBetweenStatutoryIncomeTaxRateAndTheEffectiveIncomeTaxRateAbstract"/>  
  <xs:element name="SummaryOfDeferredTaxAssetsAndLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfDeferredTaxAssetsAndLiabilitiesAbstract"/>     
  <xs:element name="PercentageOfMajorCategoryOfPlanAssetsUnderReviewAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PercentageOfMajorCategoryOfPlanAssetsUnderReviewAbstract"/> 
  <xs:element name="ChangesInProjectedBenefitObligationAndPlanAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ChangesInProjectedBenefitObligationAndPlanAssetsAbstract"/> 
  <xs:element name="SummaryOfNetPeriodicBenefitCostAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfNetPeriodicBenefitCostAbstract"/>  
  <xs:element name="SummaryOfFundedStatusOfThePlanAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfFundedStatusOfThePlanAbstract"/>     
  <xs:element name="ActuarialAssumptionsToDetermineBenefitObligationsUnderReviewAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ActuarialAssumptionsToDetermineBenefitObligationsUnderReviewAbstract"/>     
  <xs:element name="ActuarialAssumptionsToDetermineTheNetPeriodicBenefitCostUnderReviewAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ActuarialAssumptionsToDetermineTheNetPeriodicBenefitCostUnderReviewAbstract"/>    
  <xs:element name="SummaryOfEstimatedFutureBenefitPaymentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfEstimatedFutureBenefitPaymentsAbstract"/>   
  <xs:element name="StockOptionActivityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_StockOptionActivityAbstract"/>   
  <xs:element name="OptionsOutstandingAndVestedStockOptionsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_OptionsOutstandingAndVestedStockOptionsAbstract"/>   
  <xs:element name="FairValueAssumptionsOfStockOptionsAndEsopAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_FairValueAssumptionsOfStockOptionsAndEsopAbstract"/>  
  <xs:element name="RsusActivityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_RsusActivityAbstract"/>    
  <xs:element name="OrdinarySharesReservedForFutureIssuanceAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_OrdinarySharesReservedForFutureIssuanceAbstract"/>   
  <xs:element name="BasicAndDilutedEarningsLossPerShareAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_BasicAndDilutedEarningsLossPerShareAbstract"/>     
  <xs:element name="FutureMinimumLeasePaymentsForAllNoncancelableOperatingLeasesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_FutureMinimumLeasePaymentsForAllNoncancelableOperatingLeasesAbstract"/>     
  <xs:element name="PurchaseObligationsAndCommitmentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PurchaseObligationsAndCommitmentsAbstract"/> 
  <xs:element name="FinancialInstrumentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_FinancialInstrumentsAbstract"/>     
  <xs:element name="SummaryOfOperatingSegmentNetSalesAndOperatingIncomeLossAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfOperatingSegmentNetSalesAndOperatingIncomeLossAbstract"/>     
  <xs:element name="SummaryOfNetSalesToUnaffiliatedCustomersByGeographicRegionAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfNetSalesToUnaffiliatedCustomersByGeographicRegionAbstract"/> 
  <xs:element name="PercentageOfNetSalesToMajorCustomerAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PercentageOfNetSalesToMajorCustomerAbstract"/>     
  <xs:element name="SummaryOfLongLivedAssetsByPhysicalLocationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SummaryOfLongLivedAssetsByPhysicalLocationAbstract"/>    
  <xs:element name="OtherComprehensiveIncomeLossNetOfTaxEffectOfNilAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_OtherComprehensiveIncomeLossNetOfTaxEffectOfNilAbstract"/>    
  <xs:element name="AIncludesStockBasedCompensationChargeAsFollowsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AIncludesStockBasedCompensationChargeAsFollowsAbstract"/>  
  <xs:element name="IssuanceOfAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IssuanceOfAbstract"/>     
  <xs:element name="TreasuryStockReissuedForAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TreasuryStockReissuedForAbstract"/>   
  <xs:element name="IssuanceOfAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IssuanceOfAbstract0"/>  
  <xs:element name="TreasuryStockReissuedForAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TreasuryStockReissuedForAbstract0"/>     
  <xs:element name="IssuanceOfAbstract00" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IssuanceOfAbstract00"/>    
  <xs:element name="TreasuryStockReissuedForAbstract00" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TreasuryStockReissuedForAbstract00"/>  
  <xs:element name="AcquisitionOfAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AcquisitionOfAbstract"/> 
  <xs:element name="DecreaseIncreaseInAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DecreaseIncreaseInAbstract"/> 
  <xs:element name="ProceedsFromAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ProceedsFromAbstract"/>    
  <xs:element name="ProceedsFromAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ProceedsFromAbstract0"/> 
  <xs:element name="ItemsMeasuredAtFairValueOnARecurringBasisAtDecember312014Abstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ItemsMeasuredAtFairValueOnARecurringBasisAtDecember312014Abstract"/>    
  <xs:element name="CashAndCashEquivalentsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CashAndCashEquivalentsAbstract0"/> 
  <xs:element name="LongTermInvestmentsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LongTermInvestmentsAbstract0"/>     
  <xs:element name="ItemsMeasuredAtFairValueOnANonrecurringBasisAtDecember312014Abstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ItemsMeasuredAtFairValueOnANonrecurringBasisAtDecember312014Abstract"/>     
  <xs:element name="LongTermInvestmentsAbstract00" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LongTermInvestmentsAbstract00"/>  
  <xs:element name="LongLivedAssetsHeldAndUsedRelatedToTheExitActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LongLivedAssetsHeldAndUsedRelatedToTheExitActivitiesAbstract"/>    
  <xs:element name="TimeDepositsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TimeDepositsAbstract0"/> 
  <xs:element name="CostMethodAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMethodAbstract"/>     
  <xs:element name="CostAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostAbstract"/>   
  <xs:element name="AccumulatedDepreciationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AccumulatedDepreciationAbstract"/> 
  <xs:element name="IncreaseDecreaseInTaxResultingFromAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IncreaseDecreaseInTaxResultingFromAbstract"/>   
  <xs:element name="DeferredIncomeTaxAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DeferredIncomeTaxAssetsAbstract"/> 
  <xs:element name="DeferredIncomeTaxLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DeferredIncomeTaxLiabilitiesAbstract"/> 
  <xs:element name="YearAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_YearAbstract"/>   
  <xs:element name="EffectOfDilutiveSecuritiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_EffectOfDilutiveSecuritiesAbstract"/>  
  <xs:element name="LossPerShareBasicAndDilutedAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LossPerShareBasicAndDilutedAbstract"/>    
  <xs:element name="NetSalesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_NetSalesAbstract"/> 
  <xs:element name="LossFromOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LossFromOperationsAbstract"/> 
  <xs:element name="StockBasedCompensationIncludedInResearchAndDevelopment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_StockBasedCompensationIncludedInResearchAndDevelopment"/>  
  <xs:element name="StockBasedCompensationIncludedInSellingGeneralAndAdministrative" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_StockBasedCompensationIncludedInSellingGeneralAndAdministrative"/>     
  <xs:element name="OtherComprehensiveIncomeUnrealizedHoldingGainOnSecuritiesArisingDuringPeriodNetOfTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_OtherComprehensiveIncomeUnrealizedHoldingGainOnSecuritiesArisingDuringPeriodNetOfTax"/>   
  <xs:element name="PrepaidExpensesAndOtherCurrentAssetsTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PrepaidExpensesAndOtherCurrentAssetsTextBlock"/>    
  <xs:element name="AssetsHeldForSalePolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AssetsHeldForSalePolicyTextBlock"/>   
  <xs:element name="GovernmentGrantsPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_GovernmentGrantsPolicyTextBlock"/> 
  <xs:element name="TranslationOfForeignCurrencyFinancialStatementsPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TranslationOfForeignCurrencyFinancialStatementsPolicyTextBlock"/>   
  <xs:element name="LegalContingenciesPolicyTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LegalContingenciesPolicyTextBlock"/>     
  <xs:element name="ScheduleOfPrepaidExpensesAndOtherCurrentAssetsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ScheduleOfPrepaidExpensesAndOtherCurrentAssetsTableTextBlock"/>    
  <xs:element name="ScheduleOfLongTermInvestmentsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ScheduleOfLongTermInvestmentsTableTextBlock"/>     
  <xs:element name="PropertyPlantAndEquipmentTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PropertyPlantAndEquipmentTableTextBlock"/>  
  <xs:element name="AssumptionsToDetermineTheNetPeriodicBenefitCostTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AssumptionsToDetermineTheNetPeriodicBenefitCostTableTextBlock"/> 
  <xs:element name="Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaRecurringBasisTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaRecurringBasisTable"/>  
  <xs:element name="Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaRecurringBasisLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaRecurringBasisLineItems"/>     
  <xs:element name="Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaNonrecurringBasisTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaNonrecurringBasisTable"/>   
  <xs:element name="Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaNonrecurringBasisLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note4FairValueMeasurementsDetailsItemsMeasuredatFairValueonaNonrecurringBasisLineItems"/> 
  <xs:element name="AssetsFairValueDisclosureNonrecurringGainLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_AssetsFairValueDisclosureNonrecurringGainLoss"/>    
  <xs:element name="Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsTable"/> 
  <xs:element name="Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsLineItems"/>    
  <xs:element name="InvestmentsByContractualMaturityDomain" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_InvestmentsByContractualMaturityDomain"/>  
  <xs:element name="Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsbyContractualMaturityTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsbyContractualMaturityTable"/>   
  <xs:element name="Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsbyContractualMaturityLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note6ShorttermInvestmentsDetailsSummaryofShorttermInvestmentsbyContractualMaturityLineItems"/> 
  <xs:element name="PaymentInAdvanceCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_PaymentInAdvanceCurrent"/>    
  <xs:element name="Note9LongtermInvestmentsDetailsLongtermInvestmentsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note9LongtermInvestmentsDetailsLongtermInvestmentsTable"/>    
  <xs:element name="Note9LongtermInvestmentsDetailsLongtermInvestmentsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note9LongtermInvestmentsDetailsLongtermInvestmentsLineItems"/>  
  <xs:element name="Note10PropertyandEquipmentNetDetailsSummaryofPropertyandEquipmentNetTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note10PropertyandEquipmentNetDetailsSummaryofPropertyandEquipmentNetTable"/>     
  <xs:element name="Note10PropertyandEquipmentNetDetailsSummaryofPropertyandEquipmentNetLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note10PropertyandEquipmentNetDetailsSummaryofPropertyandEquipmentNetLineItems"/>   
  <xs:element name="PropertyLeasedToOthers" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_PropertyLeasedToOthers"/>  
  <xs:element name="PrepaymentForPropertyAndEquipment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_PrepaymentForPropertyAndEquipment"/>    
  <xs:element name="OtherAssetsDomain" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_OtherAssetsDomain"/>     
  <xs:element name="Note11OtherAssetsDetailsSummaryofOtherAssetsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note11OtherAssetsDetailsSummaryofOtherAssetsTable"/>  
  <xs:element name="Note11OtherAssetsDetailsSummaryofOtherAssetsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note11OtherAssetsDetailsSummaryofOtherAssetsLineItems"/>     
  <xs:element name="EngineeringRelatedExpensesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_EngineeringRelatedExpensesCurrent"/>     
  <xs:element name="ConsultingFeesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_ConsultingFeesCurrent"/> 
  <xs:element name="ShippingExpensesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShippingExpensesCurrent"/>     
  <xs:element name="PromotionalExpensesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_PromotionalExpensesCurrent"/> 
  <xs:element name="EffectiveIncomeTaxRateReconcilationChangesInDeferredIncomeTaxAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_EffectiveIncomeTaxRateReconcilationChangesInDeferredIncomeTaxAssets"/>   
  <xs:element name="DeferredTaxLiabilityWithholdingTaxesOnRepatriationOfSubsidiaryProfits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_DeferredTaxLiabilityWithholdingTaxesOnRepatriationOfSubsidiaryProfits"/>  
  <xs:element name="DeferredTaxLiabilitiesUnrealizedCapitalAllowance" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_DeferredTaxLiabilitiesUnrealizedCapitalAllowance"/>     
  <xs:element name="Note14RetirementandPensionPlansDetailsPercentageofMajorCategoryofPlanAssetsUnderReviewTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note14RetirementandPensionPlansDetailsPercentageofMajorCategoryofPlanAssetsUnderReviewTable"/> 
  <xs:element name="Note14RetirementandPensionPlansDetailsPercentageofMajorCategoryofPlanAssetsUnderReviewLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note14RetirementandPensionPlansDetailsPercentageofMajorCategoryofPlanAssetsUnderReviewLineItems"/>    
  <xs:element name="Note15StockbasedCompensationDetailsFairValueAssumptionsofStockOptionsandESOPTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note15StockbasedCompensationDetailsFairValueAssumptionsofStockOptionsandESOPTable"/> 
  <xs:element name="Note15StockbasedCompensationDetailsFairValueAssumptionsofStockOptionsandESOPLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note15StockbasedCompensationDetailsFairValueAssumptionsofStockOptionsandESOPLineItems"/>    
  <xs:element name="Note15StockbasedCompensationDetailsRSUsActivityTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note15StockbasedCompensationDetailsRSUsActivityTable"/>   
  <xs:element name="Note15StockbasedCompensationDetailsRSUsActivityLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note15StockbasedCompensationDetailsRSUsActivityLineItems"/> 
  <xs:element name="Note20SegmentInformationDetailsSummaryofNetSalestoUnaffiliatedCustomersbyGeographicRegionTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note20SegmentInformationDetailsSummaryofNetSalestoUnaffiliatedCustomersbyGeographicRegionTable"/>  
  <xs:element name="Note20SegmentInformationDetailsSummaryofNetSalestoUnaffiliatedCustomersbyGeographicRegionLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note20SegmentInformationDetailsSummaryofNetSalestoUnaffiliatedCustomersbyGeographicRegionLineItems"/>     
  <xs:element name="Note20SegmentInformationDetailsSummaryofLongLivedAssetsbyPhysicalLocationTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note20SegmentInformationDetailsSummaryofLongLivedAssetsbyPhysicalLocationTable"/>     
  <xs:element name="Note20SegmentInformationDetailsSummaryofLongLivedAssetsbyPhysicalLocationLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note20SegmentInformationDetailsSummaryofLongLivedAssetsbyPhysicalLocationLineItems"/>   
  <xs:element name="Note2SummaryofSignificantAccountingPoliciesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note2SummaryofSignificantAccountingPoliciesDetailsTable"/>    
  <xs:element name="Note2SummaryofSignificantAccountingPoliciesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note2SummaryofSignificantAccountingPoliciesDetailsLineItems"/>  
  <xs:element name="Note3DiscontinuedOperationsandExitActivitiesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note3DiscontinuedOperationsandExitActivitiesDetailsTable"/> 
  <xs:element name="Note3DiscontinuedOperationsandExitActivitiesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note3DiscontinuedOperationsandExitActivitiesDetailsLineItems"/>    
  <xs:element name="Note4FairValueMeasurementsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note4FairValueMeasurementsDetailsTable"/>     
  <xs:element name="Note4FairValueMeasurementsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note4FairValueMeasurementsDetailsLineItems"/>   
  <xs:element name="Note9LongtermInvestmentsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note9LongtermInvestmentsDetailsTable"/> 
  <xs:element name="Note9LongtermInvestmentsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note9LongtermInvestmentsDetailsLineItems"/>    
  <xs:element name="CostMethodInvestmentPurchasePrice" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMethodInvestmentPurchasePrice"/>    
  <xs:element name="InvestmentOwnedValuePerUnit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_InvestmentOwnedValuePerUnit"/>  
  <xs:element name="CostMethodInvestmentPerShare" type="num:perShareItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMethodInvestmentPerShare"/> 
  <xs:element name="InvestmentPercentage" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_InvestmentPercentage"/>    
  <xs:element name="CostMethodInvestmentSaleOfShares" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMethodInvestmentSaleOfShares"/>    
  <xs:element name="CostMethodInvestmentSaleOfSharesValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMethodInvestmentSaleOfSharesValue"/>    
  <xs:element name="WriteOffOutstandingPrepayments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="oiim_WriteOffOutstandingPrepayments"/>    
  <xs:element name="Note10PropertyandEquipmentNetDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note10PropertyandEquipmentNetDetailsTable"/> 
  <xs:element name="Note10PropertyandEquipmentNetDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note10PropertyandEquipmentNetDetailsLineItems"/>    
  <xs:element name="NumberOfPropertyPlantAndEquipmentUnitsLeasedToOthers" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_NumberOfPropertyPlantAndEquipmentUnitsLeasedToOthers"/>     
  <xs:element name="NumberOfPropertyPlantAndEquipmentUnitsSoldToOthers" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_NumberOfPropertyPlantAndEquipmentUnitsSoldToOthers"/> 
  <xs:element name="Note11OtherAssetsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note11OtherAssetsDetailsTable"/>  
  <xs:element name="Note11OtherAssetsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note11OtherAssetsDetailsLineItems"/>     
  <xs:element name="LandUseRightsTerm" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LandUseRightsTerm"/> 
  <xs:element name="Note13IncomeTaxDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note13IncomeTaxDetailsTable"/>   
  <xs:element name="Note13IncomeTaxDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note13IncomeTaxDetailsLineItems"/> 
  <xs:element name="DefinedBenefitPlanContributionsByEmployerPercentageMinimum" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DefinedBenefitPlanContributionsByEmployerPercentageMinimum"/>     
  <xs:element name="DefinedBenefitPlanContributionsByEmployerMaximum" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DefinedBenefitPlanContributionsByEmployerMaximum"/>     
  <xs:element name="DefinedBenefitPlanContributionsByEmployerPercentageCurrent" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DefinedBenefitPlanContributionsByEmployerPercentageCurrent"/>     
  <xs:element name="Note15StockbasedCompensationDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note15StockbasedCompensationDetailsTable"/>    
  <xs:element name="Note15StockbasedCompensationDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note15StockbasedCompensationDetailsLineItems"/>  
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumEmployeeSubscriptionRate" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumEmployeeSubscriptionRate"/>    
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEmployeeSubscriptionRateMaximum" type="num:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShareBasedCompensationArrangementByShareBasedPaymentAwardEmployeeSubscriptionRateMaximum"/>    
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecreasePercentage" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingPeriodIncreaseDecreasePercentage"/>   
  <xs:element name="Note16EarningsLossPerShareDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note16EarningsLossPerShareDetailsTable"/>     
  <xs:element name="Note16EarningsLossPerShareDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note16EarningsLossPerShareDetailsLineItems"/>   
  <xs:element name="Note17CommitmentsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note17CommitmentsDetailsTable"/>  
  <xs:element name="Note17CommitmentsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note17CommitmentsDetailsLineItems"/>     
  <xs:element name="Note18ContingenciesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note18ContingenciesDetailsTable"/> 
  <xs:element name="Note18ContingenciesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note18ContingenciesDetailsLineItems"/>    
  <xs:element name="Note20SegmentInformationDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="oiim_Note20SegmentInformationDetailsTable"/> 
  <xs:element name="Note20SegmentInformationDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_Note20SegmentInformationDetailsLineItems"/>    
  <xs:element name="NumberOfCustomers" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_NumberOfCustomers"/>     
  <xs:element name="InvestmentsByContractualMaturityAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:dimensionItem" id="oiim_InvestmentsByContractualMaturityAxis"/> 
  <xs:element name="OtherAssetsAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:dimensionItem" id="oiim_OtherAssetsAxis"/>    
  <xs:element name="AccruedOneTimeTerminationBenefitsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AccruedOneTimeTerminationBenefitsMember"/>    
  <xs:element name="AggregateWriteDownOfAssetsToFairValueMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AggregateWriteDownOfAssetsToFairValueMember"/>  
  <xs:element name="AnnualIncreaseMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AnnualIncreaseMember"/> 
  <xs:element name="AttorneysFeesAwardedToMPSMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_AttorneysFeesAwardedToMPSMember"/>   
  <xs:element name="CaymanIslandsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CaymanIslandsMember"/>    
  <xs:element name="ConsultantAndMaintenanceContractsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ConsultantAndMaintenanceContractsMember"/>    
  <xs:element name="CostMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMember"/> 
  <xs:element name="CostMethodSecuritiesMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CostMethodSecuritiesMember"/>   
  <xs:element name="CustomerAMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CustomerAMember"/> 
  <xs:element name="CustomerBMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CustomerBMember"/> 
  <xs:element name="CustomerCMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_CustomerCMember"/> 
  <xs:element name="DeferredChargesMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DeferredChargesMember"/>   
  <xs:element name="DeferredIncomeTaxAssetsNoncurrentMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DeferredIncomeTaxAssetsNoncurrentMember"/>    
  <xs:element name="DueAfterOneYearThroughTwoYearsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DueAfterOneYearThroughTwoYearsMember"/>   
  <xs:element name="DueWithinOneYearMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DueWithinOneYearMember"/>     
  <xs:element name="EMCMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_EMCMember"/>    
  <xs:element name="EmployeeStockPurchasePlanMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_EmployeeStockPurchasePlanMember"/>   
  <xs:element name="EtrendMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_EtrendMember"/>     
  <xs:element name="ExercisePriceRange1Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ExercisePriceRange1Member"/> 
  <xs:element name="ExercisePriceRange2Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ExercisePriceRange2Member"/> 
  <xs:element name="ExercisePriceRange3Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ExercisePriceRange3Member"/> 
  <xs:element name="ExercisePriceRange4Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ExercisePriceRange4Member"/> 
  <xs:element name="ExercisePriceRange5Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ExercisePriceRange5Member"/> 
  <xs:element name="GEMMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_GEMMember"/>    
  <xs:element name="IntelligentECommerceGroupMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IntelligentECommerceGroupMember"/>   
  <xs:element name="IntelligentPowerGroupMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IntelligentPowerGroupMember"/>     
  <xs:element name="IntergratedCircuitGroupMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_IntergratedCircuitGroupMember"/>    
  <xs:element name="LandUseRightsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LandUseRightsMember"/>    
  <xs:element name="LegendsecInformationTechnologyMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LegendsecInformationTechnologyMember"/>   
  <xs:element name="LossOnAssetWriteOffMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_LossOnAssetWriteOffMember"/> 
  <xs:element name="NanjingAnalogChipTechSemiconductorMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_NanjingAnalogChipTechSemiconductorMember"/> 
  <xs:element name="NetworkSecurityGroupMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_NetworkSecurityGroupMember"/>   
  <xs:element name="OneTimeEmployeeTerminationBenefitsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_OneTimeEmployeeTerminationBenefitsMember"/> 
  <xs:element name="OtherCountriesMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_OtherCountriesMember"/> 
  <xs:element name="PVEFMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PVEFMember"/> 
  <xs:element name="PatentInfringementMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PatentInfringementMember"/>    
  <xs:element name="PropertyAndEquipmentMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PropertyAndEquipmentMember"/>   
  <xs:element name="PropertyLeasedToOthersMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PropertyLeasedToOthersMember"/>  
  <xs:element name="PurchasePlan1999Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PurchasePlan1999Member"/>     
  <xs:element name="PurchasePlan2009Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_PurchasePlan2009Member"/>     
  <xs:element name="RefundableDepositsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_RefundableDepositsMember"/>    
  <xs:element name="RestrictedShareUnitsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_RestrictedShareUnitsMember"/>   
  <xs:element name="ShareIncentivePlan2005Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShareIncentivePlan2005Member"/>  
  <xs:element name="ShareOptionPlan2005Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShareOptionPlan2005Member"/> 
  <xs:element name="ShareReservedForAwardsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_ShareReservedForAwardsMember"/>  
  <xs:element name="SiGenMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SiGenMember"/>   
  <xs:element name="SigurdCaymanMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SigurdCaymanMember"/>  
  <xs:element name="SinomosMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_SinomosMember"/>  
  <xs:element name="StockIncentivePlan1999Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_StockIncentivePlan1999Member"/>  
  <xs:element name="StockPlan1997Member" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_StockPlan1997Member"/>    
  <xs:element name="TotalAccumulatedOtherComprehensiveIncomeMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TotalAccumulatedOtherComprehensiveIncomeMember"/>   
  <xs:element name="TotalCostMethodInvestmentsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TotalCostMethodInvestmentsMember"/>     
  <xs:element name="TotalLongTermInvestmentsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TotalLongTermInvestmentsMember"/> 
  <xs:element name="TradeSecretInfringementMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_TradeSecretInfringementMember"/>    
  <xs:element name="VerticilMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_VerticilMember"/>    
  <xs:element name="XFABMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_XFABMember"/> 
  <xs:element name="DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="oiim_DocumentAndEntityInformationAbstract"/> 
</xs:schema>   


