<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationBusinessCombination" xlink:href="qlys-20180630.xsd#BusinessCombinationBusinessCombination" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationNarrativeDetails" xlink:href="qlys-20180630.xsd#BusinessCombinationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:href="qlys-20180630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesLeaseNarrativeDetails" xlink:href="qlys-20180630.xsd#CommitmentsAndContingenciesLeaseNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesScheduleOfLeasesDetails" xlink:href="qlys-20180630.xsd#CommitmentsAndContingenciesScheduleOfLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:href="qlys-20180630.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:href="qlys-20180630.xsd#CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="qlys-20180630.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="qlys-20180630.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedBalanceSheets" xlink:href="qlys-20180630.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="qlys-20180630.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="qlys-20180630.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="qlys-20180630.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="qlys-20180630.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:href="qlys-20180630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesReconciliationDetails" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsChangesInOtherComprehensiveIncomeDetails" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsChangesInOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativesDetails" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsDerivativesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsGainsLossesRecognizedDetails" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsGainsLossesRecognizedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="qlys-20180630.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:href="qlys-20180630.xsd#GoodwillAndIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetCarryingValueOfIntangibleAssetsDetails" xlink:href="qlys-20180630.xsd#GoodwillAndIntangibleAssetsNetCarryingValueOfIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:href="qlys-20180630.xsd#GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:href="qlys-20180630.xsd#GoodwillAndIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxes" xlink:href="qlys-20180630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesDetails" xlink:href="qlys-20180630.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShare" xlink:href="qlys-20180630.xsd#NetIncomePerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareDetails" xlink:href="qlys-20180630.xsd#NetIncomePerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareTables" xlink:href="qlys-20180630.xsd#NetIncomePerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:href="qlys-20180630.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:href="qlys-20180630.xsd#PropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:href="qlys-20180630.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:href="qlys-20180630.xsd#RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:href="qlys-20180630.xsd#SegmentInformationAndInformationAboutGeographicArea" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaPropertyAndEquipmentNetDetails" xlink:href="qlys-20180630.xsd#SegmentInformationAndInformationAboutGeographicAreaPropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaRevenueByGeographicAreaDetails" xlink:href="qlys-20180630.xsd#SegmentInformationAndInformationAboutGeographicAreaRevenueByGeographicAreaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:href="qlys-20180630.xsd#SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensation" xlink:href="qlys-20180630.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationExpenseDetails" xlink:href="qlys-20180630.xsd#StockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationRestrictedStockDetails" xlink:href="qlys-20180630.xsd#StockBasedCompensationRestrictedStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationStockOptionPlanActivityDetails" xlink:href="qlys-20180630.xsd#StockBasedCompensationStockOptionPlanActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationStockOptionsDetails" xlink:href="qlys-20180630.xsd#StockBasedCompensationStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationTables" xlink:href="qlys-20180630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquity" xlink:href="qlys-20180630.xsd#StockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityDetails" xlink:href="qlys-20180630.xsd#StockholdersEquityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityTables" xlink:href="qlys-20180630.xsd#StockholdersEquityTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationBusinessCombination" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_9B7198F5909E702417ADED419D6FC0AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_9B7198F5909E702417ADED419D6FC0AE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_EE4B8162944C1EBD422CED419D6FB667" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_9B7198F5909E702417ADED419D6FC0AE" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_EE4B8162944C1EBD422CED419D6FB667" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4CEFF85793E65B4D0361ED419D6F1AFF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EE4B8162944C1EBD422CED419D6FB667" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4CEFF85793E65B4D0361ED419D6F1AFF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4CEFF85793E65B4D0361ED419D6F1AFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_EE4B8162944C1EBD422CED419D6FB667" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4CEFF85793E65B4D0361ED419D6F1AFF" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_DB6C6BDF31FAA7359C95ED74A238A1F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_4CEFF85793E65B4D0361ED419D6F1AFF" xlink:to="loc_qlys_A1MobilityMember_DB6C6BDF31FAA7359C95ED74A238A1F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_51F079AB793CE1E19BBAED419D70DE7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_51F079AB793CE1E19BBAED419D70DE7E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_PaymentsToAcquireBusinessesGrossPayableSubjectToFutureTermsOfPurchaseAgreement" xlink:label="loc_qlys_PaymentsToAcquireBusinessesGrossPayableSubjectToFutureTermsOfPurchaseAgreement_4848D75D343D60F674A3ED419D70F128" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:to="loc_qlys_PaymentsToAcquireBusinessesGrossPayableSubjectToFutureTermsOfPurchaseAgreement_4848D75D343D60F674A3ED419D70F128" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_FCAD0A21089B2F8DDC9FED419D70DAAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_FCAD0A21089B2F8DDC9FED419D70DAAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_34D8F920FC68E8E292E1ED419D711560" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:to="loc_us-gaap_Goodwill_34D8F920FC68E8E292E1ED419D711560" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7F18441CBBB95AB56987ED419D71341D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_6AC5EF22D50459139018ED419D702D90" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_7F18441CBBB95AB56987ED419D71341D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesLeaseNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_63D97D86EB8431C21E1BED419D4D4E30" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_DAA8F87F92EEE378854BED419D4BC408" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_63D97D86EB8431C21E1BED419D4D4E30" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_DAA8F87F92EEE378854BED419D4BC408" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_B42E096841F849C23FC9ED419D4B3F39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_DAA8F87F92EEE378854BED419D4BC408" xlink:to="loc_us-gaap_CreditFacilityAxis_B42E096841F849C23FC9ED419D4B3F39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_8D26D098337D0A7BEF65ED419D4BCEFB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_B42E096841F849C23FC9ED419D4B3F39" xlink:to="loc_us-gaap_CreditFacilityDomain_8D26D098337D0A7BEF65ED419D4BCEFB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_8D26D098337D0A7BEF65ED419D4BCEFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_B42E096841F849C23FC9ED419D4B3F39" xlink:to="loc_us-gaap_CreditFacilityDomain_8D26D098337D0A7BEF65ED419D4BCEFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_7DCBACFA7A2DA1000592ED419D4CD05A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_8D26D098337D0A7BEF65ED419D4BCEFB" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_7DCBACFA7A2DA1000592ED419D4CD05A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_52B808D4296072B7A244ED419D4C1B92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_DAA8F87F92EEE378854BED419D4BC408" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_52B808D4296072B7A244ED419D4C1B92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_D03BE09D636431B846B4ED419D4D461C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_52B808D4296072B7A244ED419D4C1B92" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_D03BE09D636431B846B4ED419D4D461C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_D03BE09D636431B846B4ED419D4D461C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_52B808D4296072B7A244ED419D4C1B92" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_D03BE09D636431B846B4ED419D4D461C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_HeadquarterOfficeFacilityMember" xlink:label="loc_qlys_HeadquarterOfficeFacilityMember_1D2D7B060D7E8B4B55EDED419D4D00ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_D03BE09D636431B846B4ED419D4D461C" xlink:to="loc_qlys_HeadquarterOfficeFacilityMember_1D2D7B060D7E8B4B55EDED419D4D00ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract" xlink:label="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_09197E0CA4B9639E0F16ED419D4D4B58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_63D97D86EB8431C21E1BED419D4D4E30" xlink:to="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_09197E0CA4B9639E0F16ED419D4D4B58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_4D21A2D100568E3B39E3ED419D4EE3ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_63D97D86EB8431C21E1BED419D4D4E30" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_4D21A2D100568E3B39E3ED419D4EE3ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_D27ED12BD3705870569FED419D4EB334" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_63D97D86EB8431C21E1BED419D4D4E30" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_D27ED12BD3705870569FED419D4EB334" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesScheduleOfLeasesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems" xlink:label="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable" xlink:label="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_F23D32EB2DA7D754101AED419E4447CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_F23D32EB2DA7D754101AED419E4447CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FC1AF703CF10CC494624ED419E44AC4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_F23D32EB2DA7D754101AED419E4447CF" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FC1AF703CF10CC494624ED419E44AC4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_A512C99B2AED35CE3C59ED419E45B40E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FC1AF703CF10CC494624ED419E44AC4D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_A512C99B2AED35CE3C59ED419E45B40E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_A512C99B2AED35CE3C59ED419E45B40E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FC1AF703CF10CC494624ED419E44AC4D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_A512C99B2AED35CE3C59ED419E45B40E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_29D32744BE80E9B86C78ED419E453DC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_A512C99B2AED35CE3C59ED419E45B40E" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_29D32744BE80E9B86C78ED419E453DC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_B94041DA9F9D2450AF93ED419E4591EA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_F23D32EB2DA7D754101AED419E4447CF" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_B94041DA9F9D2450AF93ED419E4591EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9D301D5BC51DFEB3DC73ED419E46B3D8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_B94041DA9F9D2450AF93ED419E4591EA" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9D301D5BC51DFEB3DC73ED419E46B3D8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9D301D5BC51DFEB3DC73ED419E46B3D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_B94041DA9F9D2450AF93ED419E4591EA" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9D301D5BC51DFEB3DC73ED419E46B3D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_AC0B6070D68454231F80ED419E4694DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9D301D5BC51DFEB3DC73ED419E46B3D8" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_AC0B6070D68454231F80ED419E4694DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_91D6C3A7EC3586379DA9ED69CB6481A7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_us-gaap_LongTermInvestments_91D6C3A7EC3586379DA9ED69CB6481A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_F59C31E88E48CC4734F4ED419E4B8FF9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_F59C31E88E48CC4734F4ED419E4B8FF9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_CommissionAsset" xlink:label="loc_qlys_CommissionAsset_770C09FF43401611EC78ED419E4CE74B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_qlys_CommissionAsset_770C09FF43401611EC78ED419E4CE74B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_A40F7694565E2F92A738ED419E4CE6C6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_us-gaap_DeferredTaxLiabilities_A40F7694565E2F92A738ED419E4CE6C6" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_CommissionExpense" xlink:label="loc_qlys_CommissionExpense_CF6343B40E63BD2F35F4ED419E4C5BF9" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_qlys_CommissionExpense_CF6343B40E63BD2F35F4ED419E4C5BF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_5974E610F63E5332EE33ED419E4D7F54" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_DA3030ADF26488850D8FED419E46E69D" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_5974E610F63E5332EE33ED419E4D7F54" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesReconciliationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_B3B57B3B527C5E778976C5C566A17E7B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_DDBF9B3F61CD5F8E9154D5332F87A9BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_B3B57B3B527C5E778976C5C566A17E7B" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_DDBF9B3F61CD5F8E9154D5332F87A9BC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E6C7CE2D4DB516EB38606486F5A4DF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_DDBF9B3F61CD5F8E9154D5332F87A9BC" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E6C7CE2D4DB516EB38606486F5A4DF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E6C7CE2D4DB516EB38606486F5A4DF3" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_4E6C7CE2D4DB516EB38606486F5A4DF3" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashMember" xlink:label="loc_us-gaap_CashMember_53604F98ED465114B8817B8C10DE6A95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:to="loc_us-gaap_CashMember_53604F98ED465114B8817B8C10DE6A95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_2E12B136F4DC5507A3F8FAC2F68573B2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:to="loc_us-gaap_MoneyMarketFundsMember_2E12B136F4DC5507A3F8FAC2F68573B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_AB47008D3C0954EEAA37E65048263F25" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:to="loc_us-gaap_CommercialPaperMember_AB47008D3C0954EEAA37E65048263F25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_613870ADB11F5FA8B35501B811F74051" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_613870ADB11F5FA8B35501B811F74051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_BD57A920BCE35987A04561DE857BF214" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_BD57A920BCE35987A04561DE857BF214" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_7661FBB93E3351B79C2F2663AB5C9641" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8151A12762A652E8999E90E9877480DB" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_7661FBB93E3351B79C2F2663AB5C9641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_D65302D480D6511EBC4D70A609589A71" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_DDBF9B3F61CD5F8E9154D5332F87A9BC" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_D65302D480D6511EBC4D70A609589A71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D65302D480D6511EBC4D70A609589A71" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_3BD3EABA7F1259FAA8B6D552381BE428" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D65302D480D6511EBC4D70A609589A71" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_3BD3EABA7F1259FAA8B6D552381BE428" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_9013CD6BA27A5A5D8B64A7D8D148104C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_3BD3EABA7F1259FAA8B6D552381BE428" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_9013CD6BA27A5A5D8B64A7D8D148104C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_AvailableForSaleSecuritiesLineItemMember" xlink:label="loc_qlys_AvailableForSaleSecuritiesLineItemMember_842FF3014D4C59C3A97683CF1CED3861" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_3BD3EABA7F1259FAA8B6D552381BE428" xlink:to="loc_qlys_AvailableForSaleSecuritiesLineItemMember_842FF3014D4C59C3A97683CF1CED3861" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_LongTermInvestmentsMember" xlink:label="loc_qlys_LongTermInvestmentsMember_CE71DFE0AA705D499F299EC1F913DEC2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_3BD3EABA7F1259FAA8B6D552381BE428" xlink:to="loc_qlys_LongTermInvestmentsMember_CE71DFE0AA705D499F299EC1F913DEC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_0822E9E23DA950EDB6EE721C064F6EE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_B3B57B3B527C5E778976C5C566A17E7B" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_0822E9E23DA950EDB6EE721C064F6EE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_4F51D0171EC650E4BFAABE6FA848CC14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_0822E9E23DA950EDB6EE721C064F6EE9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_4F51D0171EC650E4BFAABE6FA848CC14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_99383DBA9D6A59819F51F1FDFF415A7A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_0822E9E23DA950EDB6EE721C064F6EE9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_99383DBA9D6A59819F51F1FDFF415A7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_436023DE49595AD5A115D247C5C227CB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_0822E9E23DA950EDB6EE721C064F6EE9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_436023DE49595AD5A115D247C5C227CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_5C22AC33107458E085472ACCB31D48E8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_0822E9E23DA950EDB6EE721C064F6EE9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_5C22AC33107458E085472ACCB31D48E8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsChangesInOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_12566CE952045D6DFCE2ED419DF0F7A6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_313DCBAA728A72433AF8ED419DEFF814" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_12566CE952045D6DFCE2ED419DF0F7A6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_313DCBAA728A72433AF8ED419DEFF814" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_309494C917BF603BC027ED419DEF8102" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_313DCBAA728A72433AF8ED419DEFF814" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_309494C917BF603BC027ED419DEF8102" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_82163286A86A79648925ED419DEFB91E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_309494C917BF603BC027ED419DEF8102" xlink:to="loc_us-gaap_EquityComponentDomain_82163286A86A79648925ED419DEFB91E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_82163286A86A79648925ED419DEFB91E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_309494C917BF603BC027ED419DEF8102" xlink:to="loc_us-gaap_EquityComponentDomain_82163286A86A79648925ED419DEFB91E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_3AAC3DFBAC7381D5AD98ED419DF09043" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_82163286A86A79648925ED419DEFB91E" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_3AAC3DFBAC7381D5AD98ED419DF09043" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_BE71E6F12D7E309B4DE8ED419DF0A8BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_12566CE952045D6DFCE2ED419DF0F7A6" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_BE71E6F12D7E309B4DE8ED419DF0A8BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_5B827F6D1C8393262C63ED419DF05C32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_BE71E6F12D7E309B4DE8ED419DF0A8BE" xlink:to="loc_us-gaap_StockholdersEquity_5B827F6D1C8393262C63ED419DF05C32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_240B109777EF2A2D4599ED419DF12E75" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_BE71E6F12D7E309B4DE8ED419DF0A8BE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_240B109777EF2A2D4599ED419DF12E75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_446722B0EE97B9F21D62ED419DF158CB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_BE71E6F12D7E309B4DE8ED419DF0A8BE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_446722B0EE97B9F21D62ED419DF158CB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_C464913EA16FEA526426ED419DF15B06" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_BE71E6F12D7E309B4DE8ED419DF0A8BE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_C464913EA16FEA526426ED419DF15B06" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_B6B0F77AD4BAEE80EFCEED419DBF12DA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_963A65EAD601CC0EA367ED419DBE7D74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_B6B0F77AD4BAEE80EFCEED419DBF12DA" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_963A65EAD601CC0EA367ED419DBE7D74" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3D88225F458F143242DEED419DBEA9AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_963A65EAD601CC0EA367ED419DBE7D74" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3D88225F458F143242DEED419DBEA9AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3D88225F458F143242DEED419DBEA9AE" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3D88225F458F143242DEED419DBEA9AE" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_33992664C28B292899C5ED419DBF6114" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B" xlink:to="loc_us-gaap_CommercialPaperMember_33992664C28B292899C5ED419DBF6114" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_4C1B5F220D9CBA95C856ED419DBF898F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_4C1B5F220D9CBA95C856ED419DBF898F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_481547CA923AD295F7B4ED419DBFD707" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_481547CA923AD295F7B4ED419DBFD707" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_6EC435907F55FB3463C7ED419DBFD480" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_9DCF5167B89885845BE6ED419DBEDF8B" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_6EC435907F55FB3463C7ED419DBFD480" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_A74D644FC97D2B212CE4ED419DC05D7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_B6B0F77AD4BAEE80EFCEED419DBF12DA" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_A74D644FC97D2B212CE4ED419DC05D7C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_C67B5D8912DEFB00426EED419DC0690C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_B6B0F77AD4BAEE80EFCEED419DBF12DA" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_C67B5D8912DEFB00426EED419DC0690C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_BC2120E4217BEA0A2124ED419DC05A81" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_B6B0F77AD4BAEE80EFCEED419DBF12DA" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_BC2120E4217BEA0A2124ED419DC05A81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_27048DE0D5183A311C47ED419DC0F82E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_B6B0F77AD4BAEE80EFCEED419DBF12DA" xlink:to="loc_us-gaap_AvailableForSaleSecurities_27048DE0D5183A311C47ED419DC0F82E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_B8FE3EFCEFDB885F9C5649D577035C37" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_E4F0E5FEA1D167345B9F49D577029164" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_B8FE3EFCEFDB885F9C5649D577035C37" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_E4F0E5FEA1D167345B9F49D577029164" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5A52BD5222538C675F4949D577020018" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_E4F0E5FEA1D167345B9F49D577029164" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5A52BD5222538C675F4949D577020018" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_00C44CE9286A5D95F30849D57703698C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5A52BD5222538C675F4949D577020018" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_00C44CE9286A5D95F30849D57703698C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_00C44CE9286A5D95F30849D57703698C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5A52BD5222538C675F4949D577020018" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_00C44CE9286A5D95F30849D57703698C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_AB8D09DBCA0EB27AF77749D57703B2F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_00C44CE9286A5D95F30849D57703698C" xlink:to="loc_us-gaap_ForwardContractsMember_AB8D09DBCA0EB27AF77749D57703B2F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeNumberOfInstrumentsHeld" xlink:label="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_C7FB1F18B11DFE18CD7049D57703C853" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_B8FE3EFCEFDB885F9C5649D577035C37" xlink:to="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_C7FB1F18B11DFE18CD7049D57703C853" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_2CB8B609C6093A81757F49D57704D920" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_B8FE3EFCEFDB885F9C5649D577035C37" xlink:to="loc_invest_DerivativeNotionalAmount_2CB8B609C6093A81757F49D57704D920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_A8CA7CE1730F991C54E049D57704AE9F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_B8FE3EFCEFDB885F9C5649D577035C37" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_A8CA7CE1730F991C54E049D57704AE9F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7F31BB042BAE52A4A2E8A0DDB84A1E24" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_7085DED5DE315EEB8214D4F84FF437F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7F31BB042BAE52A4A2E8A0DDB84A1E24" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_7085DED5DE315EEB8214D4F84FF437F3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_1A02A081F63359CBB81853754476790B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_7085DED5DE315EEB8214D4F84FF437F3" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_1A02A081F63359CBB81853754476790B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EAB43F50D68D297A8018088CAAB706A2_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_1A02A081F63359CBB81853754476790B" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EAB43F50D68D297A8018088CAAB706A2_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_094267912A835D3B938B460D5696AB00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_1A02A081F63359CBB81853754476790B" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_094267912A835D3B938B460D5696AB00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_11349DEF9378502B8BF13C323B7B6571" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_094267912A835D3B938B460D5696AB00" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_11349DEF9378502B8BF13C323B7B6571" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_D20A7F57B25054489E87EAF85670471F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_094267912A835D3B938B460D5696AB00" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_D20A7F57B25054489E87EAF85670471F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_FD81A0F17C6D5F3898FBA0D2785454D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_7085DED5DE315EEB8214D4F84FF437F3" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_FD81A0F17C6D5F3898FBA0D2785454D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_FD81A0F17C6D5F3898FBA0D2785454D8" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B746AA348295C95BABA68FE547834CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_FD81A0F17C6D5F3898FBA0D2785454D8" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B746AA348295C95BABA68FE547834CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_EFF67694BBEE542CB9894B9990ECF722" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B746AA348295C95BABA68FE547834CF" xlink:to="loc_us-gaap_CommercialPaperMember_EFF67694BBEE542CB9894B9990ECF722" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_D053EB7B21C356488A4ED527C0124116" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B746AA348295C95BABA68FE547834CF" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_D053EB7B21C356488A4ED527C0124116" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_6DC1923F5A3A50C283BCFAA9CE16A139" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B746AA348295C95BABA68FE547834CF" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_6DC1923F5A3A50C283BCFAA9CE16A139" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_0FAF8244113F5901BD85781668B2D0AF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B746AA348295C95BABA68FE547834CF" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_0FAF8244113F5901BD85781668B2D0AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E8D6B4D7C048540DB31D38EFFE75AEA7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_7085DED5DE315EEB8214D4F84FF437F3" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E8D6B4D7C048540DB31D38EFFE75AEA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E8D6B4D7C048540DB31D38EFFE75AEA7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4142136E56145E35A278C77D5CB46600" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E8D6B4D7C048540DB31D38EFFE75AEA7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4142136E56145E35A278C77D5CB46600" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_58AACF111D8859CDA7834669EE984086" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4142136E56145E35A278C77D5CB46600" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_58AACF111D8859CDA7834669EE984086" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_983907D6D73D588DB7CDFE91134736D0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4142136E56145E35A278C77D5CB46600" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_983907D6D73D588DB7CDFE91134736D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_93A5547F0F4357AEB16F567905DBA325" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4142136E56145E35A278C77D5CB46600" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_93A5547F0F4357AEB16F567905DBA325" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4CA0FACDF7505E2396A245DAABC171BC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_7085DED5DE315EEB8214D4F84FF437F3" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4CA0FACDF7505E2396A245DAABC171BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_74161E3371802A4672D5088CAAB8F9A4_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4CA0FACDF7505E2396A245DAABC171BC" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_74161E3371802A4672D5088CAAB8F9A4_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_C3211B8F8F84567CB70E3D6345986C89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4CA0FACDF7505E2396A245DAABC171BC" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_C3211B8F8F84567CB70E3D6345986C89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_E188C8E732635DAEA115A29331BC2CA0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_C3211B8F8F84567CB70E3D6345986C89" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_E188C8E732635DAEA115A29331BC2CA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_99C5B0BB86375F5ABD6254E90795402D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_7F31BB042BAE52A4A2E8A0DDB84A1E24" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_99C5B0BB86375F5ABD6254E90795402D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_969757D24BA055EDA1041B2782912C02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_99C5B0BB86375F5ABD6254E90795402D" xlink:to="loc_us-gaap_AvailableForSaleSecurities_969757D24BA055EDA1041B2782912C02" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsGainsLossesRecognizedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_97776BAC93EE38FB23C7ED419DB48BC4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_E2DE9E2F930C9DC47095ED419DB38E96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_97776BAC93EE38FB23C7ED419DB48BC4" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_E2DE9E2F930C9DC47095ED419DB38E96" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_C1255E710505008ECE4CED419DB395BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_E2DE9E2F930C9DC47095ED419DB38E96" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_C1255E710505008ECE4CED419DB395BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_6961D190D2A600BD9FB8ED419DB3A303_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_C1255E710505008ECE4CED419DB395BF" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_6961D190D2A600BD9FB8ED419DB3A303_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_6961D190D2A600BD9FB8ED419DB3A303" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_C1255E710505008ECE4CED419DB395BF" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_6961D190D2A600BD9FB8ED419DB3A303" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_2E87335C1F8B2E6BF1C0ED419DB34ED7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_6961D190D2A600BD9FB8ED419DB3A303" xlink:to="loc_us-gaap_ForwardContractsMember_2E87335C1F8B2E6BF1C0ED419DB34ED7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_80E948E96DAF707396ACED419DB4364B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_97776BAC93EE38FB23C7ED419DB48BC4" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_80E948E96DAF707396ACED419DB4364B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_5F9C2D93F71F61C3A995ED419DB497D3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_97776BAC93EE38FB23C7ED419DB48BC4" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_5F9C2D93F71F61C3A995ED419DB497D3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax" xlink:label="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_F415DAF4651466500377ED419DB4D24E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_97776BAC93EE38FB23C7ED419DB48BC4" xlink:to="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_F415DAF4651466500377ED419DB4D24E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetCarryingValueOfIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:type="locator" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsTable" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_ACF2E484AB8F908B2800ED419D612A82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_ACF2E484AB8F908B2800ED419D612A82" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_83062258FCAFAF4B3DC4ED419D613B55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_ACF2E484AB8F908B2800ED419D612A82" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_83062258FCAFAF4B3DC4ED419D613B55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_68EDDE30CF4B8C02913CED419D618FCC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_83062258FCAFAF4B3DC4ED419D613B55" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_68EDDE30CF4B8C02913CED419D618FCC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_68EDDE30CF4B8C02913CED419D618FCC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_83062258FCAFAF4B3DC4ED419D613B55" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_68EDDE30CF4B8C02913CED419D618FCC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_258BEE1FD243C98D1A79ED419D613972" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_68EDDE30CF4B8C02913CED419D618FCC" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_258BEE1FD243C98D1A79ED419D613972" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_5FA916FE90700CB156AAED419D620B61" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_68EDDE30CF4B8C02913CED419D618FCC" xlink:to="loc_us-gaap_PatentsMember_5FA916FE90700CB156AAED419D620B61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_88568956B86786A0BC15ED419D62D325" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_88568956B86786A0BC15ED419D62D325" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_844821860DCAB05F6B7DED419D63C5D9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_844821860DCAB05F6B7DED419D63C5D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_33E7A12D84118295A1B7ED419D631A95" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_33E7A12D84118295A1B7ED419D631A95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_16EA8070C00FE19EABA4ED419D63DC19" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_16EA8070C00FE19EABA4ED419D63DC19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_34C6AB0E54F2F7B9CE19ED419D631E9E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_34C6AB0E54F2F7B9CE19ED419D631E9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_B2C2CB382EF413FDA222ED419D639F6E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_B2C2CB382EF413FDA222ED419D639F6E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_FEBC8C142EBB9D5B1935ED419D64EE57" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_FEBC8C142EBB9D5B1935ED419D64EE57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_0AA183194D35EB22AF1EED419D649EF1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_0AA183194D35EB22AF1EED419D649EF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_C6F831040372EAEDE78BED419D6414D2" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_1A27FBF42DB2274DEC61ED419D625C4A" xlink:to="loc_us-gaap_Goodwill_C6F831040372EAEDE78BED419D6414D2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DE3B859D8BD0563C879285E7347FFCD9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_697C258566E556F3B4C43284D2896D82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DE3B859D8BD0563C879285E7347FFCD9" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_697C258566E556F3B4C43284D2896D82" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF88FEB050C85296B8F4F39A97284360" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_697C258566E556F3B4C43284D2896D82" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF88FEB050C85296B8F4F39A97284360" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_84382B0B62B43004F5FC088CAAA75BDD_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF88FEB050C85296B8F4F39A97284360" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_84382B0B62B43004F5FC088CAAA75BDD_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A72331BCC7FE52C8ADA51C4D1679D96E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_EF88FEB050C85296B8F4F39A97284360" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A72331BCC7FE52C8ADA51C4D1679D96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_8D3F276E6F7150BD8E6E24C46B23663C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A72331BCC7FE52C8ADA51C4D1679D96E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_8D3F276E6F7150BD8E6E24C46B23663C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1BC9868D426E5A9E9D2B0B2C80BD22F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_A72331BCC7FE52C8ADA51C4D1679D96E" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1BC9868D426E5A9E9D2B0B2C80BD22F2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_AntidilutiveSecuritiesAbstract" xlink:label="loc_qlys_AntidilutiveSecuritiesAbstract_E5E49E3EFFEE566E9D29AF12C8BEF9BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_DE3B859D8BD0563C879285E7347FFCD9" xlink:to="loc_qlys_AntidilutiveSecuritiesAbstract_E5E49E3EFFEE566E9D29AF12C8BEF9BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9D749F9C211B54CC8714F175E5131521" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AntidilutiveSecuritiesAbstract_E5E49E3EFFEE566E9D29AF12C8BEF9BF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9D749F9C211B54CC8714F175E5131521" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_D4133578ECF085C43AE7ED419DA5048E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_D4133578ECF085C43AE7ED419DA5048E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_838D2A82FB0E720C6862ED419DA561DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_D4133578ECF085C43AE7ED419DA5048E" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_838D2A82FB0E720C6862ED419DA561DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_838D2A82FB0E720C6862ED419DA561DC" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_838D2A82FB0E720C6862ED419DA561DC" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_C678E512EA5A51DC8AB9ED419DA6EF85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:to="loc_us-gaap_ComputerEquipmentMember_C678E512EA5A51DC8AB9ED419DA6EF85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_BE2FA845CA275B867FEDED419DA668AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_BE2FA845CA275B867FEDED419DA668AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_824E6B0D2767129F0297ED419DA7DF38" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_824E6B0D2767129F0297ED419DA7DF38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsHeldUnderCapitalLeasesMember" xlink:label="loc_us-gaap_AssetsHeldUnderCapitalLeasesMember_6E6113CCF11E03CDA451ED419DA73505" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:to="loc_us-gaap_AssetsHeldUnderCapitalLeasesMember_6E6113CCF11E03CDA451ED419DA73505" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_30B975B084BA0B3FF1F9ED419DA7E035" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:to="loc_qlys_ScannerAppliancesMember_30B975B084BA0B3FF1F9ED419DA7E035" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_EA68915FEF5646038208ED419DA73A11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_30B975B084BA0B3FF1F9ED419DA7E035" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_EA68915FEF5646038208ED419DA73A11" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_1D53E6DAFDEA82AF5B49ED419DA89C56" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_30B975B084BA0B3FF1F9ED419DA7E035" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_1D53E6DAFDEA82AF5B49ED419DA89C56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_8784FF84CF0A3CF0CEA9ED419DA8E57B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7BF35513F8FDDA047224ED419DA6B611" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_8784FF84CF0A3CF0CEA9ED419DA8E57B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_B0B68B53FA9E47DBE9D2ED419DA8368A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_B0B68B53FA9E47DBE9D2ED419DA8368A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_6E621E452E6538DD1819ED419DA9B1BB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_6E621E452E6538DD1819ED419DA9B1BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0186090C1DE944364E50ED419DA98BED" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0186090C1DE944364E50ED419DA98BED" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization" xlink:label="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_9F51F5E7A62CC39CF13AED419DA9035C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:to="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_9F51F5E7A62CC39CF13AED419DA9035C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_AccumulatedDepreciationCapitalLeases" xlink:label="loc_qlys_AccumulatedDepreciationCapitalLeases_0C3B22BD0D51878588DAED419DA9287D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_5B397FA33141F73FDF14ED419DA85524" xlink:to="loc_qlys_AccumulatedDepreciationCapitalLeases_0C3B22BD0D51878588DAED419DA9287D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_4D6E1DD81A305AA68D6894420E9E7C30" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_F446C0C95C645DB39B474D846BC13ED2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_4D6E1DD81A305AA68D6894420E9E7C30" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_F446C0C95C645DB39B474D846BC13ED2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_93B774CC0595593A8F70A201C75E2008" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_F446C0C95C645DB39B474D846BC13ED2" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_93B774CC0595593A8F70A201C75E2008" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_086563C11FA07BFE4839225E76232041_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_93B774CC0595593A8F70A201C75E2008" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_086563C11FA07BFE4839225E76232041_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_B595D65E2CC15B6898B06CE120992F0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_93B774CC0595593A8F70A201C75E2008" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_B595D65E2CC15B6898B06CE120992F0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_B8B3A851565157E4821579C456E28318" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_B595D65E2CC15B6898B06CE120992F0F" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_B8B3A851565157E4821579C456E28318" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_CD00138880C658EAB57F32F93D1002F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_B595D65E2CC15B6898B06CE120992F0F" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_CD00138880C658EAB57F32F93D1002F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_53D7E5E136C45F9FB0E66269B775962C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_4D6E1DD81A305AA68D6894420E9E7C30" xlink:to="loc_us-gaap_DeferredRevenueCurrent_53D7E5E136C45F9FB0E66269B775962C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_0F0EA88ABD7D5D35BD7D40198BA67A4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_4D6E1DD81A305AA68D6894420E9E7C30" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_0F0EA88ABD7D5D35BD7D40198BA67A4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_5796EB8CAA8956A08AE8370EE07D644B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_4D6E1DD81A305AA68D6894420E9E7C30" xlink:to="loc_us-gaap_DeferredRevenue_5796EB8CAA8956A08AE8370EE07D644B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_EDD7A6E60B806B59660DD2ADAF53EFEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_EDD7A6E60B806B59660DD2ADAF53EFEA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_4E8FE58445C1052773AAD2ADAF53C4C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_EDD7A6E60B806B59660DD2ADAF53EFEA" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_4E8FE58445C1052773AAD2ADAF53C4C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5D3160C239499673723CD2ADAF530335_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_4E8FE58445C1052773AAD2ADAF53C4C5" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5D3160C239499673723CD2ADAF530335_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5D3160C239499673723CD2ADAF530335" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_4E8FE58445C1052773AAD2ADAF53C4C5" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5D3160C239499673723CD2ADAF530335" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_44EE6CA72EC0BA119CC7D2ADAF53A3E2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5D3160C239499673723CD2ADAF530335" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_44EE6CA72EC0BA119CC7D2ADAF53A3E2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_08ACB91F820E20F8DC32D2ADAF56A552" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_EDD7A6E60B806B59660DD2ADAF53EFEA" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_08ACB91F820E20F8DC32D2ADAF56A552" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_7CD9109565CDB4664F35D2ADAF56472E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_08ACB91F820E20F8DC32D2ADAF56A552" xlink:to="loc_us-gaap_TypeOfAdoptionMember_7CD9109565CDB4664F35D2ADAF56472E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_7CD9109565CDB4664F35D2ADAF56472E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_08ACB91F820E20F8DC32D2ADAF56A552" xlink:to="loc_us-gaap_TypeOfAdoptionMember_7CD9109565CDB4664F35D2ADAF56472E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_34DAEB8D1DDABDB560C5D2ADAF56B1A8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_7CD9109565CDB4664F35D2ADAF56472E" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_34DAEB8D1DDABDB560C5D2ADAF56B1A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_A8AE2F57E43D6020C843D2ADAF562A6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_A8AE2F57E43D6020C843D2ADAF562A6C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_CommissionAsset" xlink:label="loc_qlys_CommissionAsset_58E8FE277A7E5E0E4C7ED2ADAF5BCED6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_qlys_CommissionAsset_58E8FE277A7E5E0E4C7ED2ADAF5BCED6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_EF0F19B4965FA49B8795D2ADAF5B1C72" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_DeferredTaxLiabilities_EF0F19B4965FA49B8795D2ADAF5B1C72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfDeferredSalesCommissions" xlink:label="loc_us-gaap_AmortizationOfDeferredSalesCommissions_4AE4B26ACE930E226FB5D2ADAF5D3F9C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_AmortizationOfDeferredSalesCommissions_4AE4B26ACE930E226FB5D2ADAF5D3F9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CapitalizedContractCostNet" xlink:label="loc_us-gaap_CapitalizedContractCostNet_53BC75F0FD15C7F54358D2ADAF5D33F3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_CapitalizedContractCostNet_53BC75F0FD15C7F54358D2ADAF5D33F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_D09B820D0FAC10715814D2ADAF5DADB0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_D09B820D0FAC10715814D2ADAF5DADB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate" xlink:label="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_3AF4CA1CF72CACBD3466D2ADAF5D9ED3" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B03DC91D39B78BD3CFA5D2ADAF56FBD5" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_3AF4CA1CF72CACBD3466D2ADAF5D9ED3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_D20908DEB7679FFFBC25ED419D79DF46" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_A0EBE4CDA717C93F009EED419D7752B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_D20908DEB7679FFFBC25ED419D79DF46" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_A0EBE4CDA717C93F009EED419D7752B0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_31B1EA8068AB06FF769BED419D777B61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_A0EBE4CDA717C93F009EED419D7752B0" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_31B1EA8068AB06FF769BED419D777B61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_651700B7C46A30E6E24CED419D7822F7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_31B1EA8068AB06FF769BED419D777B61" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_651700B7C46A30E6E24CED419D7822F7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_651700B7C46A30E6E24CED419D7822F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_31B1EA8068AB06FF769BED419D777B61" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_651700B7C46A30E6E24CED419D7822F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_CF54B27B83DE52CEEC6AED419D780C99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_651700B7C46A30E6E24CED419D7822F7" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_CF54B27B83DE52CEEC6AED419D780C99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_6833E914FB9DE0FB4824ED419D78A171" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_651700B7C46A30E6E24CED419D7822F7" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_6833E914FB9DE0FB4824ED419D78A171" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelAxis" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelAxis_DCFEECFBBF4D6C97134CED419D7984ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_A0EBE4CDA717C93F009EED419D7752B0" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_DCFEECFBBF4D6C97134CED419D7984ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_FF623D0878B4D416852CED419D79067A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_DCFEECFBBF4D6C97134CED419D7984ED" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_FF623D0878B4D416852CED419D79067A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_FF623D0878B4D416852CED419D79067A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_DCFEECFBBF4D6C97134CED419D7984ED" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_FF623D0878B4D416852CED419D79067A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesChannelDirectlyToConsumerMember" xlink:label="loc_us-gaap_SalesChannelDirectlyToConsumerMember_E6E16C44FD12F08C17B1ED419D791B3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_FF623D0878B4D416852CED419D79067A" xlink:to="loc_us-gaap_SalesChannelDirectlyToConsumerMember_E6E16C44FD12F08C17B1ED419D791B3C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesChannelThroughIntermediaryMember" xlink:label="loc_us-gaap_SalesChannelThroughIntermediaryMember_07012A2F492EE93D281FED419D79A612" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_FF623D0878B4D416852CED419D79067A" xlink:to="loc_us-gaap_SalesChannelThroughIntermediaryMember_07012A2F492EE93D281FED419D79A612" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3A78CF153788943247CAED419D7AD604" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_D20908DEB7679FFFBC25ED419D79DF46" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3A78CF153788943247CAED419D7AD604" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_CA942B5A95AB5D519F846020975BBDE7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_CA942B5A95AB5D519F846020975BBDE7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_CEE7E0FDE58258C5B815C14E7632034F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_CA942B5A95AB5D519F846020975BBDE7" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_CEE7E0FDE58258C5B815C14E7632034F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_8D19324856AAFEE1B4912262F87A0CAE_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_CEE7E0FDE58258C5B815C14E7632034F" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_8D19324856AAFEE1B4912262F87A0CAE_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_C370B7CCC584599BAC2258BB5A01CA0C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_CEE7E0FDE58258C5B815C14E7632034F" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_C370B7CCC584599BAC2258BB5A01CA0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_7D6F77040132537984534A1DDE074E74" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_C370B7CCC584599BAC2258BB5A01CA0C" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_7D6F77040132537984534A1DDE074E74" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_EC3B8D58D49950C38A59737A146EA6E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_C370B7CCC584599BAC2258BB5A01CA0C" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_EC3B8D58D49950C38A59737A146EA6E7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_E7DBE89A86535297B5E61AD29F42EBBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_E7DBE89A86535297B5E61AD29F42EBBA" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_4DFE4618B1AE5436B4558067273730F5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_4DFE4618B1AE5436B4558067273730F5" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearThree" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_0299B503DDE757AA8606BF5E4BD93324" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_0299B503DDE757AA8606BF5E4BD93324" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFour" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_A33A0153BF0451F4A0BB08741A2FA33A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_A33A0153BF0451F4A0BB08741A2FA33A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFive" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_E663005AB6095BD6A5112F2DDE571881" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_E663005AB6095BD6A5112F2DDE571881" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_UnbilledReceivablesExpectedToBeBilledThereafter" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_FFE54C61EF0A52ADA63C4099BC63323A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_FFE54C61EF0A52ADA63C4099BC63323A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate" xlink:label="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_6EF920053D685C7D89A9BADC4146EEBE" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_D832B60D7E495D48809D8B8641957D4A" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_6EF920053D685C7D89A9BADC4146EEBE" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaPropertyAndEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_E8E5B66AD0865E73AF3C28D851D7BE75" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_0978A7F17E7B5F269A66976C8FB8A32A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E8E5B66AD0865E73AF3C28D851D7BE75" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_0978A7F17E7B5F269A66976C8FB8A32A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_4E9EC512ABB65C5990DBAEFB3EB76015" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_0978A7F17E7B5F269A66976C8FB8A32A" xlink:to="loc_us-gaap_StatementGeographicalAxis_4E9EC512ABB65C5990DBAEFB3EB76015" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_BD403579ECEEE8800DAF17AF8FC26DF9_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_4E9EC512ABB65C5990DBAEFB3EB76015" xlink:to="loc_us-gaap_SegmentGeographicalDomain_BD403579ECEEE8800DAF17AF8FC26DF9_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_6CEE172CB76C5985A977A8F6A533CC33" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_4E9EC512ABB65C5990DBAEFB3EB76015" xlink:to="loc_us-gaap_SegmentGeographicalDomain_6CEE172CB76C5985A977A8F6A533CC33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_444C293BBE5954E8B66250CAC26B3822" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_6CEE172CB76C5985A977A8F6A533CC33" xlink:to="loc_country_US_444C293BBE5954E8B66250CAC26B3822" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_5C2E6E2398375C1D9EE5EDE7B2C611A3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_6CEE172CB76C5985A977A8F6A533CC33" xlink:to="loc_qlys_OtherGeographicAreasMember_5C2E6E2398375C1D9EE5EDE7B2C611A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_A477EC3B44A852E3ADEA96F6840575C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E8E5B66AD0865E73AF3C28D851D7BE75" xlink:to="loc_us-gaap_NumberOfOperatingSegments_A477EC3B44A852E3ADEA96F6840575C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6D93A119E5FE55ACA13F5045207AC284" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E8E5B66AD0865E73AF3C28D851D7BE75" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6D93A119E5FE55ACA13F5045207AC284" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaRevenueByGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_9DFBBB62F060BE8B9A47ED247CFC90A5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_CC65EB41364284CCFE54ED247CF570B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_9DFBBB62F060BE8B9A47ED247CFC90A5" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_CC65EB41364284CCFE54ED247CF570B9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_35833250B67FDA91B308ED247CF6AA88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CC65EB41364284CCFE54ED247CF570B9" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_35833250B67FDA91B308ED247CF6AA88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_AB24C0C75AF30EB91949ED247CF7BA66_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_35833250B67FDA91B308ED247CF6AA88" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_AB24C0C75AF30EB91949ED247CF7BA66_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_AB24C0C75AF30EB91949ED247CF7BA66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_35833250B67FDA91B308ED247CF6AA88" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_AB24C0C75AF30EB91949ED247CF7BA66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_FF4BBFF519DEF94D39D8ED247CF712CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_AB24C0C75AF30EB91949ED247CF7BA66" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_FF4BBFF519DEF94D39D8ED247CF712CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_4ABE9A54A0B7B0396264ED247CF75492" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_AB24C0C75AF30EB91949ED247CF7BA66" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_4ABE9A54A0B7B0396264ED247CF75492" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_F25FF88C7A47A0908076ED247CF77121" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CC65EB41364284CCFE54ED247CF570B9" xlink:to="loc_us-gaap_StatementGeographicalAxis_F25FF88C7A47A0908076ED247CF77121" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_7CEF693E3B78348B3A92ED247CF79A55_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_F25FF88C7A47A0908076ED247CF77121" xlink:to="loc_us-gaap_SegmentGeographicalDomain_7CEF693E3B78348B3A92ED247CF79A55_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_7CEF693E3B78348B3A92ED247CF79A55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_F25FF88C7A47A0908076ED247CF77121" xlink:to="loc_us-gaap_SegmentGeographicalDomain_7CEF693E3B78348B3A92ED247CF79A55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_9C6A91AAD2A77CDC3CA2ED247CF8CF29" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_7CEF693E3B78348B3A92ED247CF79A55" xlink:to="loc_country_US_9C6A91AAD2A77CDC3CA2ED247CF8CF29" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_F9B2534B5BCED1B0059DED247CFC6167" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_7CEF693E3B78348B3A92ED247CF79A55" xlink:to="loc_qlys_OtherGeographicAreasMember_F9B2534B5BCED1B0059DED247CFC6167" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_796E5FE902A346F6393FED247CFCF17E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_9DFBBB62F060BE8B9A47ED247CFC90A5" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_796E5FE902A346F6393FED247CFCF17E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_2404362F484C5175BC5F54467B243569" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_776FA86FA25D5678A9EBD7D0F971FB52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_2404362F484C5175BC5F54467B243569" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_776FA86FA25D5678A9EBD7D0F971FB52" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_B2E978339E4759E88D4CDBEE2B1F6E72" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_776FA86FA25D5678A9EBD7D0F971FB52" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_B2E978339E4759E88D4CDBEE2B1F6E72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B2E978339E4759E88D4CDBEE2B1F6E72" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_998383474E555439899D156FEFD2049F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_B2E978339E4759E88D4CDBEE2B1F6E72" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_998383474E555439899D156FEFD2049F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_13C27D5E04005DBCB9C30B2D4938A830" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_998383474E555439899D156FEFD2049F" xlink:to="loc_us-gaap_CostOfSalesMember_13C27D5E04005DBCB9C30B2D4938A830" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_A43879D5C0E45D34834B44A19F86DA18" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_998383474E555439899D156FEFD2049F" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_A43879D5C0E45D34834B44A19F86DA18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_261EEA8602545D879EE612E0B54690FE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_998383474E555439899D156FEFD2049F" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_261EEA8602545D879EE612E0B54690FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_DD8E196133B25C90BD35F10FEE789398" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_998383474E555439899D156FEFD2049F" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_DD8E196133B25C90BD35F10FEE789398" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_B54421BDC79D5944AA89C31F7CCEBA4C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_776FA86FA25D5678A9EBD7D0F971FB52" xlink:to="loc_us-gaap_AwardTypeAxis_B54421BDC79D5944AA89C31F7CCEBA4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6BB226D570E2A6CF4DB6088CAA9E01CF_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_B54421BDC79D5944AA89C31F7CCEBA4C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6BB226D570E2A6CF4DB6088CAA9E01CF_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73C021AB0D2555BB9A9853874A9AE23A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_B54421BDC79D5944AA89C31F7CCEBA4C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73C021AB0D2555BB9A9853874A9AE23A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_9958D5368845568D9F39681E0E0258FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73C021AB0D2555BB9A9853874A9AE23A" xlink:to="loc_us-gaap_EmployeeStockOptionMember_9958D5368845568D9F39681E0E0258FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_366039B60EFD5959B89FFD420932EEB4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_73C021AB0D2555BB9A9853874A9AE23A" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_366039B60EFD5959B89FFD420932EEB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_4473AB319945507E8D5721C7E6808D5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_2404362F484C5175BC5F54467B243569" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_4473AB319945507E8D5721C7E6808D5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_18FD70A987DA54C6920B7E5EF1AC97A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_2404362F484C5175BC5F54467B243569" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_18FD70A987DA54C6920B7E5EF1AC97A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_36893023A80B5E74BA5AB31933C01F58" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_2404362F484C5175BC5F54467B243569" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_36893023A80B5E74BA5AB31933C01F58" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockBasedCompensationRestrictedStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9F1BA7516FB85ED2AB9351F85AB52B62" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FA7E9A3C84F7502B956C088099591D83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9F1BA7516FB85ED2AB9351F85AB52B62" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FA7E9A3C84F7502B956C088099591D83" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_A9D0C78326EF50448F50745CA483C000" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_FA7E9A3C84F7502B956C088099591D83" xlink:to="loc_us-gaap_AwardTypeAxis_A9D0C78326EF50448F50745CA483C000" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E3B03652D57773BA0E6A088CAA3D43EB_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_A9D0C78326EF50448F50745CA483C000" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E3B03652D57773BA0E6A088CAA3D43EB_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_098F0DF55046589A87AEB010DDAD8B9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_A9D0C78326EF50448F50745CA483C000" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_098F0DF55046589A87AEB010DDAD8B9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_DC10797C05075ECCBD4CFDE6604B77EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_098F0DF55046589A87AEB010DDAD8B9C" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_DC10797C05075ECCBD4CFDE6604B77EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_4F59E95077EE5128B312C8E0A3ABA8AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9F1BA7516FB85ED2AB9351F85AB52B62" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_4F59E95077EE5128B312C8E0A3ABA8AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_B1B0C03443DC560DA350E883347AD970" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_4F59E95077EE5128B312C8E0A3ABA8AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_B1B0C03443DC560DA350E883347AD970" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_B2673ECB609E5A62BBC42E2D8DEA65AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_4F59E95077EE5128B312C8E0A3ABA8AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_B2673ECB609E5A62BBC42E2D8DEA65AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_7066D2C1EA2C587CA3BBABC1A7CBAE12" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_4F59E95077EE5128B312C8E0A3ABA8AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_7066D2C1EA2C587CA3BBABC1A7CBAE12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_99516FACB32E5FC3BA0D26785C3260E8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_4F59E95077EE5128B312C8E0A3ABA8AB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_99516FACB32E5FC3BA0D26785C3260E8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_C12CD684A8E15C6D90661553F2FA4AC0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9F1BA7516FB85ED2AB9351F85AB52B62" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_C12CD684A8E15C6D90661553F2FA4AC0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_849D5E155A6F541B85E997C94902FB70" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9F1BA7516FB85ED2AB9351F85AB52B62" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_849D5E155A6F541B85E997C94902FB70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_5B571913D03F5E7199C80CF651AF37CA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_849D5E155A6F541B85E997C94902FB70" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_5B571913D03F5E7199C80CF651AF37CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_A9895A6B7A555597A682CF754C3B7454" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_849D5E155A6F541B85E997C94902FB70" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_A9895A6B7A555597A682CF754C3B7454" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_F8D1AC69C27753DEB57ABBB6EAE3F540" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_849D5E155A6F541B85E997C94902FB70" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_F8D1AC69C27753DEB57ABBB6EAE3F540" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_A219BBD34C1053DE8C4B340053BFB7D1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_849D5E155A6F541B85E997C94902FB70" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_A219BBD34C1053DE8C4B340053BFB7D1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_DEC7ADC6A4D953C4B167BC57936318C3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9F1BA7516FB85ED2AB9351F85AB52B62" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_DEC7ADC6A4D953C4B167BC57936318C3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockBasedCompensationStockOptionPlanActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockBasedCompensationStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDC8F1A7C5EE575E82B78100785A43FE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5FF6DD0A7AB15362A54877870A5B57C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDC8F1A7C5EE575E82B78100785A43FE" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5FF6DD0A7AB15362A54877870A5B57C9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1D772C4C6E2A5654B9B1006E08030D4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5FF6DD0A7AB15362A54877870A5B57C9" xlink:to="loc_us-gaap_PlanNameAxis_1D772C4C6E2A5654B9B1006E08030D4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_DCC8E58F4C737C0653C6088CAAC0ED5E_A10F0A1A848854B793D43B775284CF4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_1D772C4C6E2A5654B9B1006E08030D4C" xlink:to="loc_us-gaap_PlanNameDomain_DCC8E58F4C737C0653C6088CAAC0ED5E_A10F0A1A848854B793D43B775284CF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_6AAE3617120C5A9297D5F8900A5FBA71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_1D772C4C6E2A5654B9B1006E08030D4C" xlink:to="loc_us-gaap_PlanNameDomain_6AAE3617120C5A9297D5F8900A5FBA71" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_3B6302D8D2A05D2EACB5D2B3F54C0A9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_6AAE3617120C5A9297D5F8900A5FBA71" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_3B6302D8D2A05D2EACB5D2B3F54C0A9B" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180630.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_9950D290E64255E688651013E8DCFA5E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_6AAE3617120C5A9297D5F8900A5FBA71" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_9950D290E64255E688651013E8DCFA5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_F6A71AFC6C035EA09D5CF62FCB5496B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDC8F1A7C5EE575E82B78100785A43FE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_F6A71AFC6C035EA09D5CF62FCB5496B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_98B532BC97BF5461AD32E02689575FF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DDC8F1A7C5EE575E82B78100785A43FE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_98B532BC97BF5461AD32E02689575FF0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityTables" xlink:type="extended" />
</link:linkbase>
