<?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/CommitmentsAndContingencies" xlink:href="qlys-20180331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesLeaseNarrativeDetails" xlink:href="qlys-20180331.xsd#CommitmentsAndContingenciesLeaseNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesScheduleOfLeasesDetails" xlink:href="qlys-20180331.xsd#CommitmentsAndContingenciesScheduleOfLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:href="qlys-20180331.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:href="qlys-20180331.xsd#CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="qlys-20180331.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="qlys-20180331.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedBalanceSheets" xlink:href="qlys-20180331.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="qlys-20180331.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="qlys-20180331.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="qlys-20180331.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="qlys-20180331.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:href="qlys-20180331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesReconciliationDetails" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsCashAndCashEquivalentsAvailableForSaleSecuritiesReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsChangesInOtherComprehensiveIncomeDetails" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsChangesInOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativesDetails" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsDerivativesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsGainsLossesRecognizedDetails" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsGainsLossesRecognizedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="qlys-20180331.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:href="qlys-20180331.xsd#GoodwillAndIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetCarryingValueOfIntangibleAssetsDetails" xlink:href="qlys-20180331.xsd#GoodwillAndIntangibleAssetsNetCarryingValueOfIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:href="qlys-20180331.xsd#GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:href="qlys-20180331.xsd#GoodwillAndIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxes" xlink:href="qlys-20180331.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesDetails" xlink:href="qlys-20180331.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShare" xlink:href="qlys-20180331.xsd#NetIncomePerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareDetails" xlink:href="qlys-20180331.xsd#NetIncomePerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareTables" xlink:href="qlys-20180331.xsd#NetIncomePerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:href="qlys-20180331.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:href="qlys-20180331.xsd#PropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:href="qlys-20180331.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:href="qlys-20180331.xsd#RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:href="qlys-20180331.xsd#SegmentInformationAndInformationAboutGeographicArea" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaPropertyAndEquipmentNetDetails" xlink:href="qlys-20180331.xsd#SegmentInformationAndInformationAboutGeographicAreaPropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaRevenueByGeographicAreaDetails" xlink:href="qlys-20180331.xsd#SegmentInformationAndInformationAboutGeographicAreaRevenueByGeographicAreaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:href="qlys-20180331.xsd#SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensation" xlink:href="qlys-20180331.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationExpenseDetails" xlink:href="qlys-20180331.xsd#StockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationRestrictedStockDetails" xlink:href="qlys-20180331.xsd#StockBasedCompensationRestrictedStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationStockOptionPlanActivityDetails" xlink:href="qlys-20180331.xsd#StockBasedCompensationStockOptionPlanActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationStockOptionsDetails" xlink:href="qlys-20180331.xsd#StockBasedCompensationStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockBasedCompensationTables" xlink:href="qlys-20180331.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquity" xlink:href="qlys-20180331.xsd#StockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityDetails" xlink:href="qlys-20180331.xsd#StockholdersEquityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityTables" xlink:href="qlys-20180331.xsd#StockholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SubsequentEvent" xlink:href="qlys-20180331.xsd#SubsequentEvent" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SubsequentEventDetails" xlink:href="qlys-20180331.xsd#SubsequentEventDetails" 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/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_F771FC066F1C074B307209195BC32A1C" 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_F4B21D8EC68B013CAF8309195BC3E043" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_F771FC066F1C074B307209195BC32A1C" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_F4B21D8EC68B013CAF8309195BC3E043" 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_15198A2AD2061E22B96709195BC3F047" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_F4B21D8EC68B013CAF8309195BC3E043" xlink:to="loc_us-gaap_CreditFacilityAxis_15198A2AD2061E22B96709195BC3F047" 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_82930315CF17AA568CD109195BC3FAD7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_15198A2AD2061E22B96709195BC3F047" xlink:to="loc_us-gaap_CreditFacilityDomain_82930315CF17AA568CD109195BC3FAD7_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_82930315CF17AA568CD109195BC3FAD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_15198A2AD2061E22B96709195BC3F047" xlink:to="loc_us-gaap_CreditFacilityDomain_82930315CF17AA568CD109195BC3FAD7" 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_DE7E583929B8287AA67D09195BC30E8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_82930315CF17AA568CD109195BC3FAD7" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_DE7E583929B8287AA67D09195BC30E8B" 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_F86C1AAD3FAFC7C347EF09195BC3F2C9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_F4B21D8EC68B013CAF8309195BC3E043" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_F86C1AAD3FAFC7C347EF09195BC3F2C9" 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_8C0C461D04820491F28909195BC3C627_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_F86C1AAD3FAFC7C347EF09195BC3F2C9" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_8C0C461D04820491F28909195BC3C627_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_8C0C461D04820491F28909195BC3C627" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_F86C1AAD3FAFC7C347EF09195BC3F2C9" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_8C0C461D04820491F28909195BC3C627" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_HeadquarterOfficeFacilityMember" xlink:label="loc_qlys_HeadquarterOfficeFacilityMember_F8E9EAA1B223C422EF6409195BC3FA5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_8C0C461D04820491F28909195BC3C627" xlink:to="loc_qlys_HeadquarterOfficeFacilityMember_F8E9EAA1B223C422EF6409195BC3FA5E" 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_18B79A78705BC1BF388F09195BC3797B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_F771FC066F1C074B307209195BC32A1C" xlink:to="loc_us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract_18B79A78705BC1BF388F09195BC3797B" 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_BFC971F0ECFDFEA6DB5A09195BC3F268" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_F771FC066F1C074B307209195BC32A1C" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_BFC971F0ECFDFEA6DB5A09195BC3F268" 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_9C0D0090703A87C08BD009195BC38D9C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_F771FC066F1C074B307209195BC32A1C" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_9C0D0090703A87C08BD009195BC38D9C" 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_38F0078B2A8181249A9D280017FDA409" 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_42A456C4FF8BFBFD9FD0280017FAEAFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_38F0078B2A8181249A9D280017FDA409" xlink:to="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_42A456C4FF8BFBFD9FD0280017FAEAFD" 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_53DCEC9EB18452051877280017FB4525" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_42A456C4FF8BFBFD9FD0280017FAEAFD" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_53DCEC9EB18452051877280017FB4525" 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_EF6F8808F360C86E33D7280017FC582B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_53DCEC9EB18452051877280017FB4525" xlink:to="loc_us-gaap_TypeOfAdoptionMember_EF6F8808F360C86E33D7280017FC582B_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_EF6F8808F360C86E33D7280017FC582B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_53DCEC9EB18452051877280017FB4525" xlink:to="loc_us-gaap_TypeOfAdoptionMember_EF6F8808F360C86E33D7280017FC582B" 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_CEA1D837EED9A1676ED3280017FCC9A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_EF6F8808F360C86E33D7280017FC582B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_CEA1D837EED9A1676ED3280017FCC9A4" 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_2F732C1A5169BF548908280017FCEB11" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_42A456C4FF8BFBFD9FD0280017FAEAFD" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_2F732C1A5169BF548908280017FCEB11" 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_9ABC4FCFA5D27C123E30280017FCCE51_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_2F732C1A5169BF548908280017FCEB11" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9ABC4FCFA5D27C123E30280017FCCE51_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_9ABC4FCFA5D27C123E30280017FCCE51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_2F732C1A5169BF548908280017FCEB11" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9ABC4FCFA5D27C123E30280017FCCE51" 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_571C99ECB304AA541EDB280017FC0476" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_9ABC4FCFA5D27C123E30280017FCCE51" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_571C99ECB304AA541EDB280017FC0476" 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_D931CC77C9E7576AF6AE280017FD2B54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_38F0078B2A8181249A9D280017FDA409" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_D931CC77C9E7576AF6AE280017FD2B54" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_CommissionAsset" xlink:label="loc_qlys_CommissionAsset_5A6FB184EA56B76DCEE428001B91B902" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_38F0078B2A8181249A9D280017FDA409" xlink:to="loc_qlys_CommissionAsset_5A6FB184EA56B76DCEE428001B91B902" 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_A6F8461411F2C7F68652280017FDCB99" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_38F0078B2A8181249A9D280017FDA409" xlink:to="loc_us-gaap_DeferredTaxLiabilities_A6F8461411F2C7F68652280017FDCB99" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_CommissionExpense" xlink:label="loc_qlys_CommissionExpense_314582FCCEE2680F0CCF280017FD035D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_38F0078B2A8181249A9D280017FDA409" xlink:to="loc_qlys_CommissionExpense_314582FCCEE2680F0CCF280017FD035D" 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_AA3912546665470A2E35280017FDC457" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_38F0078B2A8181249A9D280017FDA409" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_AA3912546665470A2E35280017FDC457" 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_0D1B3114461B5FE1EB4308DDC8F28E21" 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_12C1A36C61C3B4F62EDB08DDC8F0C74F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_0D1B3114461B5FE1EB4308DDC8F28E21" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_12C1A36C61C3B4F62EDB08DDC8F0C74F" 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_24085A30D3910E86012808DDC8F18E23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_12C1A36C61C3B4F62EDB08DDC8F0C74F" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_24085A30D3910E86012808DDC8F18E23" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_24085A30D3910E86012808DDC8F18E23" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE_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_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_24085A30D3910E86012808DDC8F18E23" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" 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_9603C699C2D9950BA66C08DDC8F1C55D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:to="loc_us-gaap_CashMember_9603C699C2D9950BA66C08DDC8F1C55D" 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_A784B6B57627816C5CB308DDC8F2B974" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:to="loc_us-gaap_MoneyMarketFundsMember_A784B6B57627816C5CB308DDC8F2B974" 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_F877F06C10BB4F7CBC6F08DDC8F2935A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:to="loc_us-gaap_CommercialPaperMember_F877F06C10BB4F7CBC6F08DDC8F2935A" 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_0E000D10FA2A5EA2D33508DDC8F25231" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_0E000D10FA2A5EA2D33508DDC8F25231" 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_4A2CD1A17CD0861CC78F08DDC8F2794F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_4A2CD1A17CD0861CC78F08DDC8F2794F" 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_E45D1F0060713B637A0E08DDC8F2BA56" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_3CA46D9E7EFB3FD06F3508DDC8F122FE" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_E45D1F0060713B637A0E08DDC8F2BA56" 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_8A9D1239AAAA3DC65F1A08DDC8F29300" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_12C1A36C61C3B4F62EDB08DDC8F0C74F" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_8A9D1239AAAA3DC65F1A08DDC8F29300" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_8A9D1239AAAA3DC65F1A08DDC8F29300" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_8A9D1239AAAA3DC65F1A08DDC8F29300" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7" 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_0CEBFDEB65C71397BF3008DDC8F2E0C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_0CEBFDEB65C71397BF3008DDC8F2E0C2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_AvailableForSaleSecuritiesLineItemMember" xlink:label="loc_qlys_AvailableForSaleSecuritiesLineItemMember_0CB99A55E9E7A7E4FA4108DDC8F21062" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7" xlink:to="loc_qlys_AvailableForSaleSecuritiesLineItemMember_0CB99A55E9E7A7E4FA4108DDC8F21062" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_LongTermInvestmentsMember" xlink:label="loc_qlys_LongTermInvestmentsMember_8A70D3D49615CEF2F8BF08DDC8F25145" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4C535BD0FC68430FA60208DDC8F27EF7" xlink:to="loc_qlys_LongTermInvestmentsMember_8A70D3D49615CEF2F8BF08DDC8F25145" 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_24EAF0870DE1188D215108DDC8F2000F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_0D1B3114461B5FE1EB4308DDC8F28E21" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_24EAF0870DE1188D215108DDC8F2000F" 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_1E46F65C4689DC3183A808DDC8F3FED5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_24EAF0870DE1188D215108DDC8F2000F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_1E46F65C4689DC3183A808DDC8F3FED5" 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_E821DAD81E5E9E8CEEB108DDC8F58D04" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_24EAF0870DE1188D215108DDC8F2000F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_E821DAD81E5E9E8CEEB108DDC8F58D04" 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_600C26837E7AE124680408DDC8F570B2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_24EAF0870DE1188D215108DDC8F2000F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_600C26837E7AE124680408DDC8F570B2" 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_4ACAC68BBE83D207C08008DDC8F57F2D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_24EAF0870DE1188D215108DDC8F2000F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_4ACAC68BBE83D207C08008DDC8F57F2D" 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_19CD351E0F45E72F3F7008DDC92B143B" 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_20CAB7DD86385206FB1B08DDC92AB102" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_19CD351E0F45E72F3F7008DDC92B143B" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_20CAB7DD86385206FB1B08DDC92AB102" 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_6A7138F5EDF562F83ED208DDC92B950F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_20CAB7DD86385206FB1B08DDC92AB102" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6A7138F5EDF562F83ED208DDC92B950F" 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_DF2C3A439A05793868DD08DDC92BCE24_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6A7138F5EDF562F83ED208DDC92B950F" xlink:to="loc_us-gaap_EquityComponentDomain_DF2C3A439A05793868DD08DDC92BCE24_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_DF2C3A439A05793868DD08DDC92BCE24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6A7138F5EDF562F83ED208DDC92B950F" xlink:to="loc_us-gaap_EquityComponentDomain_DF2C3A439A05793868DD08DDC92BCE24" 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_20E0420976D6E3A9E1BF08DDC92B3C22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DF2C3A439A05793868DD08DDC92BCE24" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_20E0420976D6E3A9E1BF08DDC92B3C22" 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_6B52B74D467DA24185D808DDC92BA7E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_19CD351E0F45E72F3F7008DDC92B143B" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_6B52B74D467DA24185D808DDC92BA7E7" 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_05C66C7808142A9F0F7008DDC92B6A66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_6B52B74D467DA24185D808DDC92BA7E7" xlink:to="loc_us-gaap_StockholdersEquity_05C66C7808142A9F0F7008DDC92B6A66" 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_EC7CE262986592A3118A08DDC92B6B6E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_6B52B74D467DA24185D808DDC92BA7E7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_EC7CE262986592A3118A08DDC92B6B6E" 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_87DD177BF0DB51CEADB908DDC92BBBBA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_6B52B74D467DA24185D808DDC92BA7E7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_87DD177BF0DB51CEADB908DDC92BBBBA" 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_247B305B1326F0498FAB08DDC92BC6D3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_6B52B74D467DA24185D808DDC92BA7E7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_247B305B1326F0498FAB08DDC92BC6D3" 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_FFF8DAEC7C057716C506088CAA38353D" 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_35964F22B4BDEB65DDB4088CAA38DA34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FFF8DAEC7C057716C506088CAA38353D" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_35964F22B4BDEB65DDB4088CAA38DA34" 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_2312D0916094B9EAC5F0088CAA38B88B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_35964F22B4BDEB65DDB4088CAA38DA34" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2312D0916094B9EAC5F0088CAA38B88B" 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_7FB8B71A4741F08FF6B0088CAA3806C4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2312D0916094B9EAC5F0088CAA38B88B" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7FB8B71A4741F08FF6B0088CAA3806C4_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_7FB8B71A4741F08FF6B0088CAA3806C4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2312D0916094B9EAC5F0088CAA38B88B" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7FB8B71A4741F08FF6B0088CAA3806C4" 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_D8E604C2EA72A9E05D97088CAA380456" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7FB8B71A4741F08FF6B0088CAA3806C4" xlink:to="loc_us-gaap_CommercialPaperMember_D8E604C2EA72A9E05D97088CAA380456" 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_077B9F43D013DD9AC796088CAA38A306" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7FB8B71A4741F08FF6B0088CAA3806C4" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_077B9F43D013DD9AC796088CAA38A306" 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_B86AC39B67FF3B244432088CAA3895F3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7FB8B71A4741F08FF6B0088CAA3806C4" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_B86AC39B67FF3B244432088CAA3895F3" 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_3CB623D413F6FA9F76A0088CAA3803B1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_7FB8B71A4741F08FF6B0088CAA3806C4" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_3CB623D413F6FA9F76A0088CAA3803B1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_FF2BD9B4FEA216608E8F088CAA38AE27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FFF8DAEC7C057716C506088CAA38353D" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_FF2BD9B4FEA216608E8F088CAA38AE27" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_3B92E1D02EFA6649B2AA088CAA380A14" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FFF8DAEC7C057716C506088CAA38353D" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_3B92E1D02EFA6649B2AA088CAA380A14" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_634A9581F806EF115B66088CAA38ED24" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FFF8DAEC7C057716C506088CAA38353D" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_634A9581F806EF115B66088CAA38ED24" 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_B66346747636C49FE0DB088CAA38C38E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_FFF8DAEC7C057716C506088CAA38353D" xlink:to="loc_us-gaap_AvailableForSaleSecurities_B66346747636C49FE0DB088CAA38C38E" 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_BF3EB7F1918AEEF5E7FF088CAAC85AAE" 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_DA6F0FEC388A2669AD13088CAAC8DF3D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF3EB7F1918AEEF5E7FF088CAAC85AAE" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_DA6F0FEC388A2669AD13088CAAC8DF3D" 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_6EE6D9515315F427D526088CAAC866BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_DA6F0FEC388A2669AD13088CAAC8DF3D" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_6EE6D9515315F427D526088CAAC866BA" 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_5B0EBC0491E26D5751BD088CAAC809CD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6EE6D9515315F427D526088CAAC866BA" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5B0EBC0491E26D5751BD088CAAC809CD_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_5B0EBC0491E26D5751BD088CAAC809CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6EE6D9515315F427D526088CAAC866BA" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5B0EBC0491E26D5751BD088CAAC809CD" 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_719B1C7AB25E8D0B2D35088CAAC82239" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5B0EBC0491E26D5751BD088CAAC809CD" xlink:to="loc_us-gaap_ForwardContractsMember_719B1C7AB25E8D0B2D35088CAAC82239" 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_1515E6156697FF199509088CAAC8025C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF3EB7F1918AEEF5E7FF088CAAC85AAE" xlink:to="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_1515E6156697FF199509088CAAC8025C" 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_200BB90B11037E0EB7EF088CAAC80447" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF3EB7F1918AEEF5E7FF088CAAC85AAE" xlink:to="loc_invest_DerivativeNotionalAmount_200BB90B11037E0EB7EF088CAAC80447" 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_A418B7763830241D7AAE088CAAC80330" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_BF3EB7F1918AEEF5E7FF088CAAC85AAE" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_A418B7763830241D7AAE088CAAC80330" 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_37B78198335D77F7412A088CAAB8BC65" 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_BCB659D7969CC0C4F766088CAAB7AEF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_37B78198335D77F7412A088CAAB8BC65" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BCB659D7969CC0C4F766088CAAB7AEF2" 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_E89E3180A0B4A921785E088CAAB7E0D8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BCB659D7969CC0C4F766088CAAB7AEF2" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_E89E3180A0B4A921785E088CAAB7E0D8" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_E89E3180A0B4A921785E088CAAB7E0D8" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EAB43F50D68D297A8018088CAAB706A2_default" 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_7DAB843F04D4D37C832B088CAAB74090" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_E89E3180A0B4A921785E088CAAB7E0D8" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7DAB843F04D4D37C832B088CAAB74090" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7DAB843F04D4D37C832B088CAAB74090" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EAB43F50D68D297A8018088CAAB706A2" 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_58654ADC84FDAB79592A088CAAB7250E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_7DAB843F04D4D37C832B088CAAB74090" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_58654ADC84FDAB79592A088CAAB7250E" 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_74792A9B0308131F0BA9088CAAB72C99" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BCB659D7969CC0C4F766088CAAB7AEF2" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_74792A9B0308131F0BA9088CAAB72C99" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_74792A9B0308131F0BA9088CAAB72C99" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F_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_B89A146E7F8E92B36D81088CAAB7D45F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_74792A9B0308131F0BA9088CAAB72C99" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F" 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_3C428E004C5066B2F2EE088CAAB7ABDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F" xlink:to="loc_us-gaap_CommercialPaperMember_3C428E004C5066B2F2EE088CAAB7ABDD" 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_933522817BF8BC1FF3F8088CAAB71A83" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_933522817BF8BC1FF3F8088CAAB71A83" 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_7F84134CB5E791B824DA088CAAB7808E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_7F84134CB5E791B824DA088CAAB7808E" 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_2BEA672C3BAFEA0F6BCD088CAAB73BF4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B89A146E7F8E92B36D81088CAAB7D45F" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_2BEA672C3BAFEA0F6BCD088CAAB73BF4" 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_8E64D15908B86DC976A8088CAAB8CE6C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BCB659D7969CC0C4F766088CAAB7AEF2" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8E64D15908B86DC976A8088CAAB8CE6C" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8E64D15908B86DC976A8088CAAB8CE6C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8E64D15908B86DC976A8088CAAB8CE6C" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF" 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_8080004F717AFCB27A5F088CAAB86AC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_8080004F717AFCB27A5F088CAAB86AC8" 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_9EDFDDFD88833CEF4B72088CAAB81812" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_9EDFDDFD88833CEF4B72088CAAB81812" 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_5202DAE3225063114A89088CAAB80A40" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_415631BC0ED57D3FBFE2088CAAB804FF" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_5202DAE3225063114A89088CAAB80A40" 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_2048A199292D900C5CF8088CAAB8C2C5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_BCB659D7969CC0C4F766088CAAB7AEF2" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2048A199292D900C5CF8088CAAB8C2C5" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2048A199292D900C5CF8088CAAB8C2C5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_74161E3371802A4672D5088CAAB8F9A4_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_2048A199292D900C5CF8088CAAB8C2C5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_74161E3371802A4672D5088CAAB8F9A4" 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_A779C4074A3A9A2CEEAE088CAAB8DCE6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_74161E3371802A4672D5088CAAB8F9A4" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_A779C4074A3A9A2CEEAE088CAAB8DCE6" 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_FAAE62C7231B841C6FB4088CAAB824C6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_37B78198335D77F7412A088CAAB8BC65" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_FAAE62C7231B841C6FB4088CAAB824C6" 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_19C17868806F1CD73D5D088CAAB85924" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_FAAE62C7231B841C6FB4088CAAB824C6" xlink:to="loc_us-gaap_AvailableForSaleSecurities_19C17868806F1CD73D5D088CAAB85924" 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_F0F43A6565DC0F7EEB0508DDCA93D8C3" 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_EC9FCAE52F1B20342FC008DDCA92F795" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_F0F43A6565DC0F7EEB0508DDCA93D8C3" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_EC9FCAE52F1B20342FC008DDCA92F795" 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_B74C1BF7468E977D844E08DDCA92682B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_EC9FCAE52F1B20342FC008DDCA92F795" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_B74C1BF7468E977D844E08DDCA92682B" 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_B2321133BF7F3D8B134008DDCA93362B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_B74C1BF7468E977D844E08DDCA92682B" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B2321133BF7F3D8B134008DDCA93362B_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_B2321133BF7F3D8B134008DDCA93362B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_B74C1BF7468E977D844E08DDCA92682B" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_B2321133BF7F3D8B134008DDCA93362B" 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_240914EDC9CCC047CAC108DDCA93BC52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_B2321133BF7F3D8B134008DDCA93362B" xlink:to="loc_us-gaap_ForwardContractsMember_240914EDC9CCC047CAC108DDCA93BC52" 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_8FC3C6C77C0AA6FF2CC708DDCA936E46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_F0F43A6565DC0F7EEB0508DDCA93D8C3" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_8FC3C6C77C0AA6FF2CC708DDCA936E46" 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_252262B943E0B02AD25C08DDCA9341CB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_F0F43A6565DC0F7EEB0508DDCA93D8C3" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_252262B943E0B02AD25C08DDCA9341CB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax" xlink:label="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_314794B91E59C64807F308DDCA93BE82" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_F0F43A6565DC0F7EEB0508DDCA93D8C3" xlink:to="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_314794B91E59C64807F308DDCA93BE82" 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-20180331.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:type="locator" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsTable" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_B1DF231625B9236B2E9B27DFEBD6380B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_B1DF231625B9236B2E9B27DFEBD6380B" 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_AD043CF507189796D64F27DFEBD66B1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_B1DF231625B9236B2E9B27DFEBD6380B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AD043CF507189796D64F27DFEBD66B1B" 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_7D52E6DE3A22B28DC6D427DFEBD6751D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AD043CF507189796D64F27DFEBD66B1B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7D52E6DE3A22B28DC6D427DFEBD6751D_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_7D52E6DE3A22B28DC6D427DFEBD6751D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_AD043CF507189796D64F27DFEBD66B1B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7D52E6DE3A22B28DC6D427DFEBD6751D" 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_2A0BBAE5259474C294FC27DFEBD66EE9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7D52E6DE3A22B28DC6D427DFEBD6751D" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_2A0BBAE5259474C294FC27DFEBD66EE9" 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_28C4848204FB458202AA27DFEBD78291" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7D52E6DE3A22B28DC6D427DFEBD6751D" xlink:to="loc_us-gaap_PatentsMember_28C4848204FB458202AA27DFEBD78291" 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_DFEAF924411BC6CE17CE27DFEBD7A14D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_DFEAF924411BC6CE17CE27DFEBD7A14D" 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_92DFE668BC8905C2BBC227DFEBD788C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_92DFE668BC8905C2BBC227DFEBD788C5" 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_C90D9503D229A8F21F2F27DFEBD77888" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_C90D9503D229A8F21F2F27DFEBD77888" 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_DBAF2E9357A880A9429727DFEBD77CD9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_DBAF2E9357A880A9429727DFEBD77CD9" 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_AFFCA2456C3EF3337D2927DFEBD7119A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_AFFCA2456C3EF3337D2927DFEBD7119A" 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_5FDA8C8368F63EBFC8E827DFEBD7FF19" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_5FDA8C8368F63EBFC8E827DFEBD7FF19" 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_39D011B0D435AC7E4CB527DFEBD7C5CC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_39D011B0D435AC7E4CB527DFEBD7C5CC" 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_792D0F087E5943B9AA5027DFEBD71669" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_792D0F087E5943B9AA5027DFEBD71669" 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_DE1EAEAEC3E8CCBD6FE727DFEBD7364C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_62FDE57DA738D949248427DFEBD70E4D" xlink:to="loc_us-gaap_Goodwill_DE1EAEAEC3E8CCBD6FE727DFEBD7364C" 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_6983034142C5BCCDCC2A088CAAA72D32" 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_5C9FBB59D4519ABD7EC5088CAAA71FB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6983034142C5BCCDCC2A088CAAA72D32" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_5C9FBB59D4519ABD7EC5088CAAA71FB6" 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_569CF00F4E15DE27CF13088CAAA768FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_5C9FBB59D4519ABD7EC5088CAAA71FB6" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_569CF00F4E15DE27CF13088CAAA768FF" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_569CF00F4E15DE27CF13088CAAA768FF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_84382B0B62B43004F5FC088CAAA75BDD_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_569CF00F4E15DE27CF13088CAAA768FF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_84382B0B62B43004F5FC088CAAA75BDD" 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_B0A1E2EA4331D96BB3A2088CAAA772E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_84382B0B62B43004F5FC088CAAA75BDD" xlink:to="loc_us-gaap_EmployeeStockOptionMember_B0A1E2EA4331D96BB3A2088CAAA772E9" 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_2971309FBD0D569E1B33088CAAA7BF2D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_84382B0B62B43004F5FC088CAAA75BDD" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2971309FBD0D569E1B33088CAAA7BF2D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_AntidilutiveSecuritiesAbstract" xlink:label="loc_qlys_AntidilutiveSecuritiesAbstract_525E4F299670F56CAA5B088CAAA79122" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_6983034142C5BCCDCC2A088CAAA72D32" xlink:to="loc_qlys_AntidilutiveSecuritiesAbstract_525E4F299670F56CAA5B088CAAA79122" 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_C557E50F2F782C7209A1088CAAA7DB98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AntidilutiveSecuritiesAbstract_525E4F299670F56CAA5B088CAAA79122" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_C557E50F2F782C7209A1088CAAA7DB98" 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_051337232CD59B9A4EB109195BD9F5F8" 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_C04F3A04CD888C5A71CB09195BD89F5B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_051337232CD59B9A4EB109195BD9F5F8" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C04F3A04CD888C5A71CB09195BD89F5B" 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_C0F82BD00C17B6A856E809195BD8D5E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C04F3A04CD888C5A71CB09195BD89F5B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C0F82BD00C17B6A856E809195BD8D5E0" 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_C16E8E4C1D8539D2AC8609195BD85B5C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C0F82BD00C17B6A856E809195BD8D5E0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C_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_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C0F82BD00C17B6A856E809195BD8D5E0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" 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_9E927414CC9E9FF444C709195BD8EBCF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:to="loc_us-gaap_ComputerEquipmentMember_9E927414CC9E9FF444C709195BD8EBCF" 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_A3B83C77784BA448668A09195BD80A4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_A3B83C77784BA448668A09195BD80A4D" 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_DF159A3A5B225E9794D109195BD81015" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_DF159A3A5B225E9794D109195BD81015" 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_43E0E11C2FDCE58BAB6709195BD82CD1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:to="loc_us-gaap_AssetsHeldUnderCapitalLeasesMember_43E0E11C2FDCE58BAB6709195BD82CD1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_EA861897DA6B89CC758F09195BD88319" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:to="loc_qlys_ScannerAppliancesMember_EA861897DA6B89CC758F09195BD88319" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_5FAEAA51CA2A46BA6F3909195BD805A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_EA861897DA6B89CC758F09195BD88319" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_5FAEAA51CA2A46BA6F3909195BD805A3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_E83D29CB4899DD0D2D3809195BD96CC0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_EA861897DA6B89CC758F09195BD88319" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_E83D29CB4899DD0D2D3809195BD96CC0" 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_6217C825E5A0050954AE09195BD9CF91" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_C16E8E4C1D8539D2AC8609195BD85B5C" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_6217C825E5A0050954AE09195BD9CF91" 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_9D3B717772F1B558101B09195BD98239" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_051337232CD59B9A4EB109195BD9F5F8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_9D3B717772F1B558101B09195BD98239" 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_9E2C059CD906A8F8B59A09195BD9D9E0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_051337232CD59B9A4EB109195BD9F5F8" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9E2C059CD906A8F8B59A09195BD9D9E0" 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_0A7F512510F19F578B7C09195BD95FCC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_051337232CD59B9A4EB109195BD9F5F8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0A7F512510F19F578B7C09195BD95FCC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization" xlink:label="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_F2F113E15F19D01A0C9909195BD964A9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_051337232CD59B9A4EB109195BD9F5F8" xlink:to="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_F2F113E15F19D01A0C9909195BD964A9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_AccumulatedDepreciationCapitalLeases" xlink:label="loc_qlys_AccumulatedDepreciationCapitalLeases_988CB972A719261C08B409351D8ACA84" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_051337232CD59B9A4EB109195BD9F5F8" xlink:to="loc_qlys_AccumulatedDepreciationCapitalLeases_988CB972A719261C08B409351D8ACA84" 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_20A71BDBAD1F61E4CEA1225E7624559C" 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_27CB676B2A7492308472225E76225C8F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_20A71BDBAD1F61E4CEA1225E7624559C" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_27CB676B2A7492308472225E76225C8F" 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_ABCF64526F912D853A3E225E762314D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_27CB676B2A7492308472225E76225C8F" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_ABCF64526F912D853A3E225E762314D1" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_ABCF64526F912D853A3E225E762314D1" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_086563C11FA07BFE4839225E76232041_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_086563C11FA07BFE4839225E76232041" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_ABCF64526F912D853A3E225E762314D1" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_086563C11FA07BFE4839225E76232041" 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_B852D1BF42C82B23C13F225E7623D10B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_086563C11FA07BFE4839225E76232041" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_B852D1BF42C82B23C13F225E7623D10B" 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_73B9886DB8BAFC62D3D2225E76232BF7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_086563C11FA07BFE4839225E76232041" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_73B9886DB8BAFC62D3D2225E76232BF7" 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_DCC11B20B06C7C004FF5225E7624B1B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_20A71BDBAD1F61E4CEA1225E7624559C" xlink:to="loc_us-gaap_DeferredRevenueCurrent_DCC11B20B06C7C004FF5225E7624B1B0" 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_A29CD8E8F9F7E83BB40C225E7624DE94" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_20A71BDBAD1F61E4CEA1225E7624559C" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_A29CD8E8F9F7E83BB40C225E7624DE94" 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_CE3F134580F65032220E225E7624A4CF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_20A71BDBAD1F61E4CEA1225E7624559C" xlink:to="loc_us-gaap_DeferredRevenue_CE3F134580F65032220E225E7624A4CF" 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_BCD4AAEF46D073B5F406280083E8E5B6" 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_7DB542BFD944E375444E280083E871E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_7DB542BFD944E375444E280083E871E1" 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_EAC459F9C352CF639F0D280083E86F77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_7DB542BFD944E375444E280083E871E1" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_EAC459F9C352CF639F0D280083E86F77" 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_2FBD5273E9378CEA3BB8280083E84B89_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_EAC459F9C352CF639F0D280083E86F77" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_2FBD5273E9378CEA3BB8280083E84B89_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_2FBD5273E9378CEA3BB8280083E84B89" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_EAC459F9C352CF639F0D280083E86F77" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_2FBD5273E9378CEA3BB8280083E84B89" 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_722CC41989ED13CFA3E2280083E8E626" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_2FBD5273E9378CEA3BB8280083E84B89" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_722CC41989ED13CFA3E2280083E8E626" 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_222DC9A3B027816CA568280083E8A656" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_7DB542BFD944E375444E280083E871E1" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_222DC9A3B027816CA568280083E8A656" 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_E868EABD0CA88FFB71A7280083E83852_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_222DC9A3B027816CA568280083E8A656" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E868EABD0CA88FFB71A7280083E83852_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_E868EABD0CA88FFB71A7280083E83852" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_222DC9A3B027816CA568280083E8A656" xlink:to="loc_us-gaap_TypeOfAdoptionMember_E868EABD0CA88FFB71A7280083E83852" 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_DC41B0B46E8858C0EDD6280083E8BEF6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_E868EABD0CA88FFB71A7280083E83852" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_DC41B0B46E8858C0EDD6280083E8BEF6" 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_7AAE1AFAE6491E36C9E7280083E8F59A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7AAE1AFAE6491E36C9E7280083E8F59A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_CommissionAsset" xlink:label="loc_qlys_CommissionAsset_81FBC35C2502B1A4986B28008A613C52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_qlys_CommissionAsset_81FBC35C2502B1A4986B28008A613C52" 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_D44D814533B17CF07602280083E95A90" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_DeferredTaxLiabilities_D44D814533B17CF07602280083E95A90" 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_CD3B3C8BCECBBB03B91D280083E9CF34" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_AmortizationOfDeferredSalesCommissions_CD3B3C8BCECBBB03B91D280083E9CF34" 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_16BF2BD12EED40C01786280083E9541C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_CapitalizedContractCostNet_16BF2BD12EED40C01786280083E9541C" 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_A2262701847C9CB2D0B9280083E9724F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_A2262701847C9CB2D0B9280083E9724F" 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_58C9EC0644622ED2D39F280083E9B6F8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_BCD4AAEF46D073B5F406280083E8E5B6" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_58C9EC0644622ED2D39F280083E9B6F8" 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_5DB4C9F0C23724ED3076226644CB1C7C" 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_FCA8555FE8F37B0D7D2F226644C1497B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_5DB4C9F0C23724ED3076226644CB1C7C" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_FCA8555FE8F37B0D7D2F226644C1497B" 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_5DFB378AD415A2871C492266B8425FBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_FCA8555FE8F37B0D7D2F226644C1497B" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DFB378AD415A2871C492266B8425FBF" 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_F2EB1D2640EDBED467192266B8488272_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DFB378AD415A2871C492266B8425FBF" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_F2EB1D2640EDBED467192266B8488272_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_F2EB1D2640EDBED467192266B8488272" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DFB378AD415A2871C492266B8425FBF" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_F2EB1D2640EDBED467192266B8488272" 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_7111175D4E8F88FB5F932266E15A1672" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_F2EB1D2640EDBED467192266B8488272" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_7111175D4E8F88FB5F932266E15A1672" 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_0C7C139F0AE0FFD4C99A22670644F997" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_F2EB1D2640EDBED467192266B8488272" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_0C7C139F0AE0FFD4C99A22670644F997" 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_F3320E501652CA2C66D8226644CA2C8C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_FCA8555FE8F37B0D7D2F226644C1497B" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_F3320E501652CA2C66D8226644CA2C8C" 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_B1CF44918911A768E56C226644CB892A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_F3320E501652CA2C66D8226644CA2C8C" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_B1CF44918911A768E56C226644CB892A_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_B1CF44918911A768E56C226644CB892A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_F3320E501652CA2C66D8226644CA2C8C" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_B1CF44918911A768E56C226644CB892A" 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_D4DFA6AA3BF37BC7476B226824C72AAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_B1CF44918911A768E56C226644CB892A" xlink:to="loc_us-gaap_SalesChannelDirectlyToConsumerMember_D4DFA6AA3BF37BC7476B226824C72AAC" 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_4D696D17B1039AB0304622686B0E1529" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_B1CF44918911A768E56C226644CB892A" xlink:to="loc_us-gaap_SalesChannelThroughIntermediaryMember_4D696D17B1039AB0304622686B0E1529" 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_71F5F70A3F176173216E2265B1B030A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_5DB4C9F0C23724ED3076226644CB1C7C" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_71F5F70A3F176173216E2265B1B030A1" 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_96612A7F9369AA3CC3022262AEAE3163" 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_7F3B13CB6EBD27397B482262AEAB3B52" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_7F3B13CB6EBD27397B482262AEAB3B52" 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_86BE4BA3809D9EC72C7D2262F68DEA4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_7F3B13CB6EBD27397B482262AEAB3B52" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_86BE4BA3809D9EC72C7D2262F68DEA4B" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_86BE4BA3809D9EC72C7D2262F68DEA4B" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_8D19324856AAFEE1B4912262F87A0CAE_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_8D19324856AAFEE1B4912262F87A0CAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_86BE4BA3809D9EC72C7D2262F68DEA4B" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_8D19324856AAFEE1B4912262F87A0CAE" 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_2A9D28C89597A1E3C80C226319F401CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_8D19324856AAFEE1B4912262F87A0CAE" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_2A9D28C89597A1E3C80C226319F401CD" 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_575E6383710A0B66718F2263312493D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_8D19324856AAFEE1B4912262F87A0CAE" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_575E6383710A0B66718F2263312493D6" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_4C2E41682CDC921D6FE322604B174AE3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_4C2E41682CDC921D6FE322604B174AE3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_6235FEB272852DD9E6EC22604B1D72E8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_6235FEB272852DD9E6EC22604B1D72E8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearThree" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_4BF24DE8C9D5CA1DA98022604B2149F8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_4BF24DE8C9D5CA1DA98022604B2149F8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFour" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_25A2796DD8C22DBD8A3222604B25C9F0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_25A2796DD8C22DBD8A3222604B25C9F0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFive" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_4CCD1C49F007B79E185022604B288AAE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_4CCD1C49F007B79E185022604B288AAE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_UnbilledReceivablesExpectedToBeBilledThereafter" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_77190D9EC641C47F198722604B2CC467" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_77190D9EC641C47F198722604B2CC467" 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_1AA145EB9E5FB45401BD226182681780" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_96612A7F9369AA3CC3022262AEAE3163" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_1AA145EB9E5FB45401BD226182681780" 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_B7FAA7476DDB47F7E48D17AF8FC392FE" 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_8E7CAAF6E6ADF624237817AF8FC21501" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_B7FAA7476DDB47F7E48D17AF8FC392FE" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8E7CAAF6E6ADF624237817AF8FC21501" 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_B005F80CC502D75C6A6417AF8FC26C60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8E7CAAF6E6ADF624237817AF8FC21501" xlink:to="loc_us-gaap_StatementGeographicalAxis_B005F80CC502D75C6A6417AF8FC26C60" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_B005F80CC502D75C6A6417AF8FC26C60" xlink:to="loc_us-gaap_SegmentGeographicalDomain_BD403579ECEEE8800DAF17AF8FC26DF9_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_BD403579ECEEE8800DAF17AF8FC26DF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_B005F80CC502D75C6A6417AF8FC26C60" xlink:to="loc_us-gaap_SegmentGeographicalDomain_BD403579ECEEE8800DAF17AF8FC26DF9" 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_5E1FB5765C1E9F2B3FEE17AF8FC21DFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_BD403579ECEEE8800DAF17AF8FC26DF9" xlink:to="loc_country_US_5E1FB5765C1E9F2B3FEE17AF8FC21DFD" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_3623576DA0D9B262E9FB17AF8FC25824" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_BD403579ECEEE8800DAF17AF8FC26DF9" xlink:to="loc_qlys_OtherGeographicAreasMember_3623576DA0D9B262E9FB17AF8FC25824" 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_531D03642A7C9273BF7D17AF8FC3435C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_B7FAA7476DDB47F7E48D17AF8FC392FE" xlink:to="loc_us-gaap_NumberOfOperatingSegments_531D03642A7C9273BF7D17AF8FC3435C" 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_ABF255A4FE619F41026017AF8FC3DFC4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_B7FAA7476DDB47F7E48D17AF8FC392FE" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_ABF255A4FE619F41026017AF8FC3DFC4" 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_063BBD872D61FE6A95772263441E22B3" 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_BF0EB65E7C68477CE44A2263441E06DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_063BBD872D61FE6A95772263441E22B3" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_BF0EB65E7C68477CE44A2263441E06DA" 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_A535D295C1575BC83B472263441EFF19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_BF0EB65E7C68477CE44A2263441E06DA" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A535D295C1575BC83B472263441EFF19" 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_641C13FFC972C8DD14092263441EB027_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A535D295C1575BC83B472263441EFF19" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_641C13FFC972C8DD14092263441EB027_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_641C13FFC972C8DD14092263441EB027" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A535D295C1575BC83B472263441EFF19" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_641C13FFC972C8DD14092263441EB027" 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_9B075BC233AA675642A9226D2C7F01A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_641C13FFC972C8DD14092263441EB027" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_9B075BC233AA675642A9226D2C7F01A1" 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_493E2C2A1A73A99A349A226D48334114" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_641C13FFC972C8DD14092263441EB027" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_493E2C2A1A73A99A349A226D48334114" 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_A18B8FC871AEBF6BF7DE2263441E7904" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_BF0EB65E7C68477CE44A2263441E06DA" xlink:to="loc_us-gaap_StatementGeographicalAxis_A18B8FC871AEBF6BF7DE2263441E7904" 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_7DBCC4DB46F42FDE51AE2263441EF0F0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_A18B8FC871AEBF6BF7DE2263441E7904" xlink:to="loc_us-gaap_SegmentGeographicalDomain_7DBCC4DB46F42FDE51AE2263441EF0F0_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_7DBCC4DB46F42FDE51AE2263441EF0F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_A18B8FC871AEBF6BF7DE2263441E7904" xlink:to="loc_us-gaap_SegmentGeographicalDomain_7DBCC4DB46F42FDE51AE2263441EF0F0" 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_7F447195F28DD244B08E2263441EE4EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_7DBCC4DB46F42FDE51AE2263441EF0F0" xlink:to="loc_country_US_7F447195F28DD244B08E2263441EE4EE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_2551F20F01C2A597BEBE2263441E5ACD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_7DBCC4DB46F42FDE51AE2263441EF0F0" xlink:to="loc_qlys_OtherGeographicAreasMember_2551F20F01C2A597BEBE2263441E5ACD" 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_B72563BD52AC4B5E4F622263441FE66C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_063BBD872D61FE6A95772263441E22B3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B72563BD52AC4B5E4F622263441FE66C" 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_04FF853CE9AD22ADC942088CAA9EA3F8" 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_0D7F4C05AD253C1911B7088CAA9DB83E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_04FF853CE9AD22ADC942088CAA9EA3F8" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_0D7F4C05AD253C1911B7088CAA9DB83E" 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_08B1B62241143258363A088CAA9DC34F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_0D7F4C05AD253C1911B7088CAA9DB83E" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_08B1B62241143258363A088CAA9DC34F" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_08B1B62241143258363A088CAA9DC34F" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_08B1B62241143258363A088CAA9DC34F" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4" 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_EB3098BF3558F9E0332C088CAA9E27F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4" xlink:to="loc_us-gaap_CostOfSalesMember_EB3098BF3558F9E0332C088CAA9E27F1" 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_D98D48B0BE44A485FA33088CAA9E7C3F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_D98D48B0BE44A485FA33088CAA9E7C3F" 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_19E7CA3D139A94C71888088CAA9EE49E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_19E7CA3D139A94C71888088CAA9EE49E" 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_B04CD07E174E75E4B548088CAA9EF1C1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D4B09DAC45440D6A4765088CAA9E2DA4" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_B04CD07E174E75E4B548088CAA9EF1C1" 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_F0DF543A35B67D273465088CAA9E4A72" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_0D7F4C05AD253C1911B7088CAA9DB83E" xlink:to="loc_us-gaap_AwardTypeAxis_F0DF543A35B67D273465088CAA9E4A72" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F0DF543A35B67D273465088CAA9E4A72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6BB226D570E2A6CF4DB6088CAA9E01CF_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F0DF543A35B67D273465088CAA9E4A72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6BB226D570E2A6CF4DB6088CAA9E01CF" 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_E14A6DABE7C775CB8401088CAA9EF070" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6BB226D570E2A6CF4DB6088CAA9E01CF" xlink:to="loc_us-gaap_EmployeeStockOptionMember_E14A6DABE7C775CB8401088CAA9EF070" 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_1B99C8887A4B36D26423088CAA9EB258" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6BB226D570E2A6CF4DB6088CAA9E01CF" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1B99C8887A4B36D26423088CAA9EB258" 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_0E9AEA3B9BF2A87593CC088CAA9EBD73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_04FF853CE9AD22ADC942088CAA9EA3F8" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0E9AEA3B9BF2A87593CC088CAA9EBD73" 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_D611F5019590E1068604088CAA9E0CB8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_04FF853CE9AD22ADC942088CAA9EA3F8" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_D611F5019590E1068604088CAA9E0CB8" 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_4180381E978B338AFB45088CAA9E3173" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_04FF853CE9AD22ADC942088CAA9EA3F8" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_4180381E978B338AFB45088CAA9E3173" 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_EBDA1344D0A0212A6A5D088CAA3D2824" 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_E92F2D4BE4A5847F4A3A088CAA3D0DEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EBDA1344D0A0212A6A5D088CAA3D2824" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E92F2D4BE4A5847F4A3A088CAA3D0DEC" 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_AA9883540810FD0C5BCF088CAA3DAC04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E92F2D4BE4A5847F4A3A088CAA3D0DEC" xlink:to="loc_us-gaap_AwardTypeAxis_AA9883540810FD0C5BCF088CAA3DAC04" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_AA9883540810FD0C5BCF088CAA3DAC04" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E3B03652D57773BA0E6A088CAA3D43EB_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_AA9883540810FD0C5BCF088CAA3DAC04" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E3B03652D57773BA0E6A088CAA3D43EB" 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_6562183D2D2E262C6816088CAA3D1C84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E3B03652D57773BA0E6A088CAA3D43EB" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6562183D2D2E262C6816088CAA3D1C84" 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_F951BA1D5E2272618756088CAA3DBA59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EBDA1344D0A0212A6A5D088CAA3D2824" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_F951BA1D5E2272618756088CAA3DBA59" 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_167ADD7A63646496BDA9088CAA3DAD2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_F951BA1D5E2272618756088CAA3DBA59" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_167ADD7A63646496BDA9088CAA3DAD2C" 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_C100EC755E72888B2E15088CAA3D4624" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_F951BA1D5E2272618756088CAA3DBA59" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_C100EC755E72888B2E15088CAA3D4624" 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_BC7B2E80D08EA8737AD8088CAA3DD080" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_F951BA1D5E2272618756088CAA3DBA59" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_BC7B2E80D08EA8737AD8088CAA3DD080" 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_74E68357C32FBC7EC028088CAA3D509A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_F951BA1D5E2272618756088CAA3DBA59" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_74E68357C32FBC7EC028088CAA3D509A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_E11F9CFCD883B3DBD89C088CAA3D8932" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EBDA1344D0A0212A6A5D088CAA3D2824" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_E11F9CFCD883B3DBD89C088CAA3D8932" 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_07BECFDC17FE5FEC35D3088CAA3D2EAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EBDA1344D0A0212A6A5D088CAA3D2824" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_07BECFDC17FE5FEC35D3088CAA3D2EAB" 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_FC3E1F8D392CEBFD26B0088CAA3DC24E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_07BECFDC17FE5FEC35D3088CAA3D2EAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_FC3E1F8D392CEBFD26B0088CAA3DC24E" 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_5D2CAF5319E0DC4E4D9B088CAA3D9DB7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_07BECFDC17FE5FEC35D3088CAA3D2EAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5D2CAF5319E0DC4E4D9B088CAA3D9DB7" 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_B7BD7617FBEF16FF4C0E088CAA3D97F5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_07BECFDC17FE5FEC35D3088CAA3D2EAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_B7BD7617FBEF16FF4C0E088CAA3D97F5" 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_831F39D1FDBB82C809EF088CAA3D7ECE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_07BECFDC17FE5FEC35D3088CAA3D2EAB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_831F39D1FDBB82C809EF088CAA3D7ECE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_C72A4C39929D2DD440D0088CAA3D6D62" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EBDA1344D0A0212A6A5D088CAA3D2824" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_C72A4C39929D2DD440D0088CAA3D6D62" 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_D79A04D2436EDED20EB0088CAAC00133" 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_5191BF327A89FA283796088CAAC07234" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D79A04D2436EDED20EB0088CAAC00133" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5191BF327A89FA283796088CAAC07234" 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_B5756A57D273D434A792088CAAC05C1C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_5191BF327A89FA283796088CAAC07234" xlink:to="loc_us-gaap_PlanNameAxis_B5756A57D273D434A792088CAAC05C1C" 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_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_B5756A57D273D434A792088CAAC05C1C" xlink:to="loc_us-gaap_PlanNameDomain_DCC8E58F4C737C0653C6088CAAC0ED5E_default" 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" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_B5756A57D273D434A792088CAAC05C1C" xlink:to="loc_us-gaap_PlanNameDomain_DCC8E58F4C737C0653C6088CAAC0ED5E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_AA791ADDA453EE5CD43E088CAAC08CB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_DCC8E58F4C737C0653C6088CAAC0ED5E" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_AA791ADDA453EE5CD43E088CAAC08CB2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_3F3522DBE0660982B1BC088CAAC04FAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_DCC8E58F4C737C0653C6088CAAC0ED5E" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_3F3522DBE0660982B1BC088CAAC04FAE" 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_24B45D1407AF1BF8A668088CAAC07C70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D79A04D2436EDED20EB0088CAAC00133" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_24B45D1407AF1BF8A668088CAAC07C70" 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_83E647E9B4E34BA7F0D3088CAAC0A169" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D79A04D2436EDED20EB0088CAAC00133" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_83E647E9B4E34BA7F0D3088CAAC0A169" 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:definitionLink xlink:role="http://www.qualys.com/role/SubsequentEvent" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SubsequentEventDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_679D079F8C7B9F4D82D8272823AB87C8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_E046ADAF6006048CEBA4272823AA930F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_679D079F8C7B9F4D82D8272823AB87C8" xlink:to="loc_us-gaap_SubsequentEventTable_E046ADAF6006048CEBA4272823AA930F" 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_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_A6A9F2F7967CA25664FF272823AAC69D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_E046ADAF6006048CEBA4272823AA930F" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_A6A9F2F7967CA25664FF272823AAC69D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01F45283359735B99FC4272823AAE6E0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_A6A9F2F7967CA25664FF272823AAC69D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01F45283359735B99FC4272823AAE6E0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01F45283359735B99FC4272823AAE6E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_A6A9F2F7967CA25664FF272823AAC69D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01F45283359735B99FC4272823AAE6E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_FAFFCDE56D788843A395272823AAA556" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_01F45283359735B99FC4272823AAE6E0" xlink:to="loc_us-gaap_SubsequentEventMember_FAFFCDE56D788843A395272823AAA556" xlink:type="arc" />
    <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_1942ED317833AD744BB8272D6D59C057" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_E046ADAF6006048CEBA4272823AA930F" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1942ED317833AD744BB8272D6D59C057" 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_EC271A96B609BE2CB953272D6E63D04F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1942ED317833AD744BB8272D6D59C057" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EC271A96B609BE2CB953272D6E63D04F_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_EC271A96B609BE2CB953272D6E63D04F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1942ED317833AD744BB8272D6D59C057" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EC271A96B609BE2CB953272D6E63D04F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_3844920D4C1D33F49734272DD66D3B22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_EC271A96B609BE2CB953272D6E63D04F" xlink:to="loc_qlys_A1MobilityMember_3844920D4C1D33F49734272DD66D3B22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_4319C60D81B9850647EE272C82C6E27D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_679D079F8C7B9F4D82D8272823AB87C8" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_4319C60D81B9850647EE272C82C6E27D" xlink:type="arc" />
    <link:loc xlink:href="qlys-20180331.xsd#qlys_PaymentsToAcquireBusinessesGrossPayableSubjectToFutureTermsOfPurchaseAgreement" xlink:label="loc_qlys_PaymentsToAcquireBusinessesGrossPayableSubjectToFutureTermsOfPurchaseAgreement_0F6EB6F9BEE480A58C0E272F3C78D157" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_679D079F8C7B9F4D82D8272823AB87C8" xlink:to="loc_qlys_PaymentsToAcquireBusinessesGrossPayableSubjectToFutureTermsOfPurchaseAgreement_0F6EB6F9BEE480A58C0E272F3C78D157" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
