<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:e46919cd-1e6f-48f1-af0f-e43b693572de,g:bc1a69c1-531d-4c04-b500-864eabd554e3-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/CoverPage" xlink:type="simple" xlink:href="rock-20200630.xsd#CoverPage"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/CoverPage" xlink:type="extended" id="i4fe7c42fe4f740f9b9a83a7ab045daf8_CoverPage"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedStatementsofIncome"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedStatementsofIncome" xlink:type="extended" id="i50c3cc504f3f4f3b9a03165fbc249b19_ConsolidatedStatementsofIncome"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended" id="i34816da489ab4d4fbcedc0caa3527f5c_ConsolidatedStatementsofComprehensiveIncome"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedBalanceSheets" xlink:type="extended" id="i0e4da9513d9c4ca18e900933af4eb217_ConsolidatedBalanceSheets"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" id="i58641838b94c44bc96fd07e4d2acf8bf_ConsolidatedBalanceSheetsParenthetical"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended" id="i764db939240b4191920334bea9caefce_ConsolidatedStatementsofCashFlows"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedStatementofShareholdersEquity" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedStatementofShareholdersEquity"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedStatementofShareholdersEquity" xlink:type="extended" id="ia03e56ccce4d4138b41d3215ab181547_ConsolidatedStatementofShareholdersEquity">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_f9218c75-aa49-4202-b25e-7ebd32b8916f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f9218c75-aa49-4202-b25e-7ebd32b8916f" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_77cb25d2-4160-4b5e-b976-23f7fbde8488" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_SharesIssued_77cb25d2-4160-4b5e-b976-23f7fbde8488" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_8b550db1-605d-4b4b-9783-1e99f8b96b63" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_StockholdersEquity_8b550db1-605d-4b4b-9783-1e99f8b96b63" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_047a0fe6-5b36-48bc-827e-16d555545541" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_NetIncomeLoss_047a0fe6-5b36-48bc-827e-16d555545541" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_7c40433b-0392-49b7-90b8-717ec3244548" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_7c40433b-0392-49b7-90b8-717ec3244548" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_OtherComprehensiveIncomeMinimumPensionLiabilityNetAdjustmentNetOfTax1_b134cce2-57bf-4c66-b8ff-dd5927ffac1d" xlink:href="rock-20200630.xsd#rock_OtherComprehensiveIncomeMinimumPensionLiabilityNetAdjustmentNetOfTax1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_rock_OtherComprehensiveIncomeMinimumPensionLiabilityNetAdjustmentNetOfTax1_b134cce2-57bf-4c66-b8ff-dd5927ffac1d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_5c9f5442-40b7-4d38-b1af-29ce308e30f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_5c9f5442-40b7-4d38-b1af-29ce308e30f5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_3b77af68-8c07-4da8-8983-67910a89481b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_3b77af68-8c07-4da8-8983-67910a89481b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_d241e8a8-c1a3-4d1f-81ed-d57e4eaa8158" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_d241e8a8-c1a3-4d1f-81ed-d57e4eaa8158" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_e2d3d4c6-8bd1-412d-a7f3-8c42ec1f8773" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_e2d3d4c6-8bd1-412d-a7f3-8c42ec1f8773" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_ce8cc52c-3493-4793-84db-b4cc8a228200" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_34fc3b1b-a016-447b-a940-70201b201f1b" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_ce8cc52c-3493-4793-84db-b4cc8a228200" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_12c6651e-95c6-4c87-8827-bd3894077cb0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_63876870-9ed2-4fd7-b9f8-3a88ac74bb7a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_beed5971-3d3c-4017-9e03-59ed83f960b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f9218c75-aa49-4202-b25e-7ebd32b8916f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_beed5971-3d3c-4017-9e03-59ed83f960b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_7d6d49d2-f728-44ec-a439-91031a1135f3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_f9218c75-aa49-4202-b25e-7ebd32b8916f" xlink:to="loc_us-gaap_StatementTable_7d6d49d2-f728-44ec-a439-91031a1135f3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2e48c364-0e40-4924-83bb-d8eef21fdcf9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7d6d49d2-f728-44ec-a439-91031a1135f3" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2e48c364-0e40-4924-83bb-d8eef21fdcf9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_2e48c364-0e40-4924-83bb-d8eef21fdcf9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2e48c364-0e40-4924-83bb-d8eef21fdcf9" xlink:to="loc_us-gaap_EquityComponentDomain_2e48c364-0e40-4924-83bb-d8eef21fdcf9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2e48c364-0e40-4924-83bb-d8eef21fdcf9" xlink:to="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_4517505a-4cbe-49b0-a6db-27a10d481c88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:to="loc_us-gaap_CommonStockMember_4517505a-4cbe-49b0-a6db-27a10d481c88" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_58cc1474-4b4f-472e-9c44-41258dbb78bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_58cc1474-4b4f-472e-9c44-41258dbb78bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_26014e26-0de4-4c03-8fcf-8fd9bdca58c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:to="loc_us-gaap_RetainedEarningsMember_26014e26-0de4-4c03-8fcf-8fd9bdca58c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_fa2bfeb8-d020-480c-8eeb-b5fa9e4975c6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_fa2bfeb8-d020-480c-8eeb-b5fa9e4975c6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockMember_a036f7a0-8cd9-4f11-be3e-24498af5aede" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f4b7d377-3c32-4af2-99a7-b07d02cfa0f1" xlink:to="loc_us-gaap_TreasuryStockMember_a036f7a0-8cd9-4f11-be3e-24498af5aede" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b2158477-abbb-481f-97cb-3b03cf08d6fb" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7d6d49d2-f728-44ec-a439-91031a1135f3" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b2158477-abbb-481f-97cb-3b03cf08d6fb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_b2158477-abbb-481f-97cb-3b03cf08d6fb_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b2158477-abbb-481f-97cb-3b03cf08d6fb" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_b2158477-abbb-481f-97cb-3b03cf08d6fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_379c49a8-d479-4fb9-bc85-ec9477eabfbc" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_b2158477-abbb-481f-97cb-3b03cf08d6fb" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_379c49a8-d479-4fb9-bc85-ec9477eabfbc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_6427372c-d0af-4923-8784-177890cfc489" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_379c49a8-d479-4fb9-bc85-ec9477eabfbc" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_6427372c-d0af-4923-8784-177890cfc489" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedStatementofShareholdersEquityParenthetical" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedStatementofShareholdersEquityParenthetical"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedStatementofShareholdersEquityParenthetical" xlink:type="extended" id="i4af07f44da074dc5a0bdf14d38b4f98a_ConsolidatedStatementofShareholdersEquityParenthetical"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ConsolidatedFinancialStatements" xlink:type="simple" xlink:href="rock-20200630.xsd#ConsolidatedFinancialStatements"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ConsolidatedFinancialStatements" xlink:type="extended" id="i71bef55a11b444bfbe4a2ef13bd52c34_ConsolidatedFinancialStatements"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RecentAccountingPronouncementsNotes" xlink:type="simple" xlink:href="rock-20200630.xsd#RecentAccountingPronouncementsNotes"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RecentAccountingPronouncementsNotes" xlink:type="extended" id="i7445b9b4d9b84acbbb59cb76fe1b4a64_RecentAccountingPronouncementsNotes"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RecentAccountingPronouncementsPolicies" xlink:type="simple" xlink:href="rock-20200630.xsd#RecentAccountingPronouncementsPolicies"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RecentAccountingPronouncementsPolicies" xlink:type="extended" id="ib1616503645643068b0e10a6caba9e7e_RecentAccountingPronouncementsPolicies"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RecentAccountingPronouncementsTables" xlink:type="simple" xlink:href="rock-20200630.xsd#RecentAccountingPronouncementsTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RecentAccountingPronouncementsTables" xlink:type="extended" id="ie99341e7217e46218269d91dd7a8d8bc_RecentAccountingPronouncementsTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RecentAccountingPronouncementsNarrativeDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#RecentAccountingPronouncementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RecentAccountingPronouncementsNarrativeDetails" xlink:type="extended" id="ia491ee67416149e0b7cf77c2215c0e71_RecentAccountingPronouncementsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_0d322a71-9e0e-4d04-991c-96996714a06c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_55f5dcbc-8090-4c85-aeca-505ae0776798" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_0d322a71-9e0e-4d04-991c-96996714a06c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_55f5dcbc-8090-4c85-aeca-505ae0776798" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_4c8607d6-d81f-42be-9c76-72bc12fe2fb3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_0d322a71-9e0e-4d04-991c-96996714a06c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_4c8607d6-d81f-42be-9c76-72bc12fe2fb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdateExtensibleList_221a5fb5-98db-43c4-a1a7-5929092ed099" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdateExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_0d322a71-9e0e-4d04-991c-96996714a06c" xlink:to="loc_us-gaap_AccountingStandardsUpdateExtensibleList_221a5fb5-98db-43c4-a1a7-5929092ed099" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_72f43c8f-36b9-4bc3-a1ee-ccee0558acb8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_0d322a71-9e0e-4d04-991c-96996714a06c" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_72f43c8f-36b9-4bc3-a1ee-ccee0558acb8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_0fff571f-0e5f-4d17-830b-7a2b6b46073b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_72f43c8f-36b9-4bc3-a1ee-ccee0558acb8" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_0fff571f-0e5f-4d17-830b-7a2b6b46073b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0fff571f-0e5f-4d17-830b-7a2b6b46073b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0fff571f-0e5f-4d17-830b-7a2b6b46073b" xlink:to="loc_us-gaap_EquityComponentDomain_0fff571f-0e5f-4d17-830b-7a2b6b46073b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_59417d32-017c-4674-99df-e847e70fadf1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0fff571f-0e5f-4d17-830b-7a2b6b46073b" xlink:to="loc_us-gaap_EquityComponentDomain_59417d32-017c-4674-99df-e847e70fadf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_826a5207-1517-43f3-a887-acd3255b8e6e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_59417d32-017c-4674-99df-e847e70fadf1" xlink:to="loc_us-gaap_RetainedEarningsMember_826a5207-1517-43f3-a887-acd3255b8e6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_be8ab067-d0e0-4292-9d8a-ac265ed15c84" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_72f43c8f-36b9-4bc3-a1ee-ccee0558acb8" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_be8ab067-d0e0-4292-9d8a-ac265ed15c84" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_be8ab067-d0e0-4292-9d8a-ac265ed15c84_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_be8ab067-d0e0-4292-9d8a-ac265ed15c84" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_be8ab067-d0e0-4292-9d8a-ac265ed15c84_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9e1de77f-af54-4452-b119-2cfed95e555d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_be8ab067-d0e0-4292-9d8a-ac265ed15c84" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9e1de77f-af54-4452-b119-2cfed95e555d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_71f1564a-0a59-4734-b026-c2b6c3d3a631" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9e1de77f-af54-4452-b119-2cfed95e555d" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_71f1564a-0a59-4734-b026-c2b6c3d3a631" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccounts" xlink:type="simple" xlink:href="rock-20200630.xsd#AccountsReceivableandAllowanceforDoubtfulAccounts"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccounts" xlink:type="extended" id="i63b390e82c824af49b3d0d83f5b11e27_AccountsReceivableandAllowanceforDoubtfulAccounts"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccountsTables" xlink:type="simple" xlink:href="rock-20200630.xsd#AccountsReceivableandAllowanceforDoubtfulAccountsTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccountsTables" xlink:type="extended" id="ib56517cc526b4fccaa5388c0491c4e1d_AccountsReceivableandAllowanceforDoubtfulAccountsTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofReceivablesDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofReceivablesDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofReceivablesDetails" xlink:type="extended" id="icdf7d4154a294560b3e9dc207a3d2433_AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofReceivablesDetails"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofAccountsReceivableAllowanceforCreditLossesDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofAccountsReceivableAllowanceforCreditLossesDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofAccountsReceivableAllowanceforCreditLossesDetails" xlink:type="extended" id="idfc3810eaff1418994825faaa4535966_AccountsReceivableandAllowanceforDoubtfulAccountsScheduleofAccountsReceivableAllowanceforCreditLossesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_4746cc6e-1e32-47c0-bbf8-2058c6c4f062" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_1a81740b-69ba-483f-8caf-097633b518a7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_4746cc6e-1e32-47c0-bbf8-2058c6c4f062" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_1a81740b-69ba-483f-8caf-097633b518a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_e9ef6d62-c1a6-494c-be95-ad4ae4ca1755" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_1a81740b-69ba-483f-8caf-097633b518a7" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_e9ef6d62-c1a6-494c-be95-ad4ae4ca1755" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_ad7c7e5f-d2e2-42e0-83f9-596e9772e77a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_5d50c211-12d9-4032-b3cc-ec92a47ee39b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_1a81740b-69ba-483f-8caf-097633b518a7" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_5d50c211-12d9-4032-b3cc-ec92a47ee39b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs_e46f28a4-fc35-4503-89c8-7c8d6aa58c48" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableRollforward_1a81740b-69ba-483f-8caf-097633b518a7" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs_e46f28a4-fc35-4503-89c8-7c8d6aa58c48" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_da5a7174-06ca-40fa-8d2b-1b83a03e3698" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_50c5bf6a-fb41-419a-9534-9c9a2afbc71f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_4746cc6e-1e32-47c0-bbf8-2058c6c4f062" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_50c5bf6a-fb41-419a-9534-9c9a2afbc71f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9dcd3f8c-e729-4938-96db-d457b22f01aa" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_50c5bf6a-fb41-419a-9534-9c9a2afbc71f" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9dcd3f8c-e729-4938-96db-d457b22f01aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9dcd3f8c-e729-4938-96db-d457b22f01aa_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9dcd3f8c-e729-4938-96db-d457b22f01aa" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9dcd3f8c-e729-4938-96db-d457b22f01aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_d5859c59-dbf1-41fc-a280-992fb4063215" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9dcd3f8c-e729-4938-96db-d457b22f01aa" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_d5859c59-dbf1-41fc-a280-992fb4063215" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_6664b0b9-6ece-4ae6-851c-0d63f8922be0" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_d5859c59-dbf1-41fc-a280-992fb4063215" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_6664b0b9-6ece-4ae6-851c-0d63f8922be0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RevenueRevenue" xlink:type="simple" xlink:href="rock-20200630.xsd#RevenueRevenue"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RevenueRevenue" xlink:type="extended" id="ie1afded53d4b4235aab815ac9f6535ca_RevenueRevenue"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RevenueTables" xlink:type="simple" xlink:href="rock-20200630.xsd#RevenueTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RevenueTables" xlink:type="extended" id="iafdb06dddbd249d19d0d03410cfd8c9b_RevenueTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RevenueNarrativeDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#RevenueNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RevenueNarrativeDetails" xlink:type="extended" id="ida9fdc53603a498e8cd40a905be99134_RevenueNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_85667c60-f7e2-4a8c-8846-2794239e9d88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_02ddd884-85e6-4164-a14a-b2c761e9542a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_85667c60-f7e2-4a8c-8846-2794239e9d88" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_02ddd884-85e6-4164-a14a-b2c761e9542a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_85667c60-f7e2-4a8c-8846-2794239e9d88" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_1acbbe96-8495-4eef-b2a1-5358fb998d06" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_1acbbe96-8495-4eef-b2a1-5358fb998d06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:to="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a61ca359-271b-4faa-b468-e40f5f1f12c1_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:to="loc_srt_RangeMember_a61ca359-271b-4faa-b468-e40f5f1f12c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_74038004-b1ef-42c9-ba80-f994581e8924" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:to="loc_srt_RangeMember_74038004-b1ef-42c9-ba80-f994581e8924" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_0bd56d24-52ba-49f9-bd65-400ac3800fd9" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_74038004-b1ef-42c9-ba80-f994581e8924" xlink:to="loc_srt_MaximumMember_0bd56d24-52ba-49f9-bd65-400ac3800fd9" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RevenueNarrativeDetails_1" xlink:type="simple" xlink:href="rock-20200630.xsd#RevenueNarrativeDetails_1"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RevenueNarrativeDetails_1" xlink:type="extended" id="id13a45f67986425ca4ae6ac6282bb86d_RevenueNarrativeDetails_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_85667c60-f7e2-4a8c-8846-2794239e9d88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_02ddd884-85e6-4164-a14a-b2c761e9542a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_85667c60-f7e2-4a8c-8846-2794239e9d88" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_02ddd884-85e6-4164-a14a-b2c761e9542a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_85667c60-f7e2-4a8c-8846-2794239e9d88" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_64f0bd75-610e-4b55-b41f-45bb54f35cc4" xlink:to="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a61ca359-271b-4faa-b468-e40f5f1f12c1_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:to="loc_srt_RangeMember_a61ca359-271b-4faa-b468-e40f5f1f12c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_74038004-b1ef-42c9-ba80-f994581e8924" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a61ca359-271b-4faa-b468-e40f5f1f12c1" xlink:to="loc_srt_RangeMember_74038004-b1ef-42c9-ba80-f994581e8924" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_0bd56d24-52ba-49f9-bd65-400ac3800fd9" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_74038004-b1ef-42c9-ba80-f994581e8924" xlink:to="loc_srt_MaximumMember_0bd56d24-52ba-49f9-bd65-400ac3800fd9" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/RevenueContractAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#RevenueContractAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/RevenueContractAssetsandLiabilitiesDetails" xlink:type="extended" id="i6c03676eb9274a08814dab97362f1fff_RevenueContractAssetsandLiabilitiesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostLineItems_aaf03b89-9fb2-4a54-87a2-740611c84054" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNet_5bbb4a8c-c6aa-4ba9-9fa0-3d1eac594d31" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerAssetNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_aaf03b89-9fb2-4a54-87a2-740611c84054" xlink:to="loc_us-gaap_ContractWithCustomerAssetNet_5bbb4a8c-c6aa-4ba9-9fa0-3d1eac594d31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_dcbe8600-4d8a-407d-bfc5-43f7fe85a05e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_aaf03b89-9fb2-4a54-87a2-740611c84054" xlink:to="loc_us-gaap_ContractWithCustomerLiability_dcbe8600-4d8a-407d-bfc5-43f7fe85a05e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetReclassifiedToReceivable_b7d2085b-b9b7-4669-a323-8180d53fa0f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerAssetReclassifiedToReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_aaf03b89-9fb2-4a54-87a2-740611c84054" xlink:to="loc_us-gaap_ContractWithCustomerAssetReclassifiedToReceivable_b7d2085b-b9b7-4669-a323-8180d53fa0f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_42cd6484-9c51-4f5d-a2e9-647a62022e58" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_aaf03b89-9fb2-4a54-87a2-740611c84054" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_42cd6484-9c51-4f5d-a2e9-647a62022e58" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostTable_f81371ab-3242-4246-949b-fb8549f15c94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_aaf03b89-9fb2-4a54-87a2-740611c84054" xlink:to="loc_us-gaap_CapitalizedContractCostTable_f81371ab-3242-4246-949b-fb8549f15c94" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_e5e967e6-42e0-4d80-955c-6c41e8481f48" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CapitalizedContractCostTable_f81371ab-3242-4246-949b-fb8549f15c94" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_e5e967e6-42e0-4d80-955c-6c41e8481f48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_e5e967e6-42e0-4d80-955c-6c41e8481f48_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_e5e967e6-42e0-4d80-955c-6c41e8481f48" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_e5e967e6-42e0-4d80-955c-6c41e8481f48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_7c82a2c8-b84b-49f3-ade3-2d528e56dcd2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_e5e967e6-42e0-4d80-955c-6c41e8481f48" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_7c82a2c8-b84b-49f3-ade3-2d528e56dcd2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_BillingsinExcessofCostMember_98e209bc-5ced-4da0-935b-fbcab1c5a4fa" xlink:href="rock-20200630.xsd#rock_BillingsinExcessofCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_7c82a2c8-b84b-49f3-ade3-2d528e56dcd2" xlink:to="loc_rock_BillingsinExcessofCostMember_98e209bc-5ced-4da0-935b-fbcab1c5a4fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_e8d49d32-06a7-4757-981d-64079b2672e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_7c82a2c8-b84b-49f3-ade3-2d528e56dcd2" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_e8d49d32-06a7-4757-981d-64079b2672e7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/Inventories" xlink:type="simple" xlink:href="rock-20200630.xsd#Inventories"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/Inventories" xlink:type="extended" id="i346af04e6b904c01ad9f83127b4f0b5e_Inventories"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/InventoriesTables" xlink:type="simple" xlink:href="rock-20200630.xsd#InventoriesTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/InventoriesTables" xlink:type="extended" id="ief5d9742674a4db796ec50a2be128c29_InventoriesTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/InventoriesDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#InventoriesDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/InventoriesDetails" xlink:type="extended" id="i32528133150c407abc09552ea59e12a8_InventoriesDetails"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/Acquisitions" xlink:type="simple" xlink:href="rock-20200630.xsd#Acquisitions"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/Acquisitions" xlink:type="extended" id="i7615b59969ee43ce91081968981a1298_Acquisitions"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AcquisitionsTables" xlink:type="simple" xlink:href="rock-20200630.xsd#AcquisitionsTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AcquisitionsTables" xlink:type="extended" id="i1b44df5d84d040c2943ea6381b88621f_AcquisitionsTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AcquisitionsNarrativeDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AcquisitionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AcquisitionsNarrativeDetails" xlink:type="extended" id="i049d7ebf55b6463ab7bcf506f6301c31_AcquisitionsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_beb95176-c2d0-42a8-87de-146d59fec57a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_73bac219-9206-4f36-a5de-1345725f12f1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_beb95176-c2d0-42a8-87de-146d59fec57a" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_73bac219-9206-4f36-a5de-1345725f12f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_5361f0a8-96bd-4d04-9e08-146e23536943" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_beb95176-c2d0-42a8-87de-146d59fec57a" xlink:to="loc_us-gaap_Goodwill_5361f0a8-96bd-4d04-9e08-146e23536943" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9a80a0c2-51c4-4e5e-8060-b20edcb0361c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_beb95176-c2d0-42a8-87de-146d59fec57a" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9a80a0c2-51c4-4e5e-8060-b20edcb0361c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79265410-941e-4cde-93dd-ec84365406ea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_beb95176-c2d0-42a8-87de-146d59fec57a" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79265410-941e-4cde-93dd-ec84365406ea" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_ff4731c7-165b-4f6a-90df-efa55d3d1d9b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79265410-941e-4cde-93dd-ec84365406ea" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_ff4731c7-165b-4f6a-90df-efa55d3d1d9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_ff4731c7-165b-4f6a-90df-efa55d3d1d9b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_ff4731c7-165b-4f6a-90df-efa55d3d1d9b" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_ff4731c7-165b-4f6a-90df-efa55d3d1d9b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_c9ce85db-5674-4c8b-a2f6-461f92a7f72f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_ff4731c7-165b-4f6a-90df-efa55d3d1d9b" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_c9ce85db-5674-4c8b-a2f6-461f92a7f72f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_b55c4094-ef4a-4dc1-b14d-157b24ffa5f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_c9ce85db-5674-4c8b-a2f6-461f92a7f72f" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_b55c4094-ef4a-4dc1-b14d-157b24ffa5f0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_ffa10758-50f3-4b7a-a78a-d6867767fcfa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_79265410-941e-4cde-93dd-ec84365406ea" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_ffa10758-50f3-4b7a-a78a-d6867767fcfa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ffa10758-50f3-4b7a-a78a-d6867767fcfa_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ffa10758-50f3-4b7a-a78a-d6867767fcfa" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ffa10758-50f3-4b7a-a78a-d6867767fcfa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ef12e34-bf62-4a88-8a2b-874b7d7d2811" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_ffa10758-50f3-4b7a-a78a-d6867767fcfa" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ef12e34-bf62-4a88-8a2b-874b7d7d2811" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_DeltaSeparationsMember_779b6eae-0b61-48d2-bc19-bd4e774eba25" xlink:href="rock-20200630.xsd#rock_DeltaSeparationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ef12e34-bf62-4a88-8a2b-874b7d7d2811" xlink:to="loc_rock_DeltaSeparationsMember_779b6eae-0b61-48d2-bc19-bd4e774eba25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ThermoEnergySystemsMember_81b0ee18-97b6-4eea-955c-ebde51c73fb5" xlink:href="rock-20200630.xsd#rock_ThermoEnergySystemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ef12e34-bf62-4a88-8a2b-874b7d7d2811" xlink:to="loc_rock_ThermoEnergySystemsMember_81b0ee18-97b6-4eea-955c-ebde51c73fb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ApeksMember_6b874cdc-caf2-41bd-a6f5-e998f5dfe24f" xlink:href="rock-20200630.xsd#rock_ApeksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_7ef12e34-bf62-4a88-8a2b-874b7d7d2811" xlink:to="loc_rock_ApeksMember_6b874cdc-caf2-41bd-a6f5-e998f5dfe24f" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AcquisitionsAllocationofPurchaseConsiderationtotheAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AcquisitionsAllocationofPurchaseConsiderationtotheAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AcquisitionsAllocationofPurchaseConsiderationtotheAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended" id="i79e0b73a6fd44603a3d571b916a0232a_AcquisitionsAllocationofPurchaseConsiderationtotheAssetsAcquiredandLiabilitiesAssumedDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_8c9fcdc3-9a19-4cfd-a32c-303e4e4e26de" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_8c9fcdc3-9a19-4cfd-a32c-303e4e4e26de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedWorkingCapital_f15de344-67b1-45a5-acec-29a15fcf8517" xlink:href="rock-20200630.xsd#rock_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedWorkingCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_rock_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedWorkingCapital_f15de344-67b1-45a5-acec-29a15fcf8517" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_bb53f1c3-30b2-46b4-9122-9f5e308461d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_bb53f1c3-30b2-46b4-9122-9f5e308461d2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_4e3d36b0-dbed-4ac2-934d-b30fcd326a40" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_4e3d36b0-dbed-4ac2-934d-b30fcd326a40" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_d870ed82-fd4d-43f6-a336-a2d9c12b250c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_d870ed82-fd4d-43f6-a336-a2d9c12b250c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_b28e82de-404c-4577-a0cc-4310edd887f8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_b28e82de-404c-4577-a0cc-4310edd887f8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_e6a9bfc4-7adb-43ec-be92-fbc17ef56d49" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_e6a9bfc4-7adb-43ec-be92-fbc17ef56d49" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_443de8f1-4d26-4d3a-aa24-91f7368d449d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_Goodwill_443de8f1-4d26-4d3a-aa24-91f7368d449d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_c03c71b0-3fb9-4164-bfc8-6efb9339df6e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_c03c71b0-3fb9-4164-bfc8-6efb9339df6e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_bd38fd66-92de-4120-99a7-ce5ca2585623" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_e57519c6-f9b5-4d3e-9585-0add15d92ef4" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_bd38fd66-92de-4120-99a7-ce5ca2585623" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_0bd34679-87f4-40dc-856d-a95ec0b57a28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_bd38fd66-92de-4120-99a7-ce5ca2585623" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_0bd34679-87f4-40dc-856d-a95ec0b57a28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0bd34679-87f4-40dc-856d-a95ec0b57a28_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0bd34679-87f4-40dc-856d-a95ec0b57a28" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0bd34679-87f4-40dc-856d-a95ec0b57a28_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a23bf20b-1c3e-4222-86e5-ee5c4b6fd376" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0bd34679-87f4-40dc-856d-a95ec0b57a28" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a23bf20b-1c3e-4222-86e5-ee5c4b6fd376" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_DeltaSeparationsMember_79dc740b-6fb4-4c00-ae39-4daaa1e6e777" xlink:href="rock-20200630.xsd#rock_DeltaSeparationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a23bf20b-1c3e-4222-86e5-ee5c4b6fd376" xlink:to="loc_rock_DeltaSeparationsMember_79dc740b-6fb4-4c00-ae39-4daaa1e6e777" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ThermoEnergySystemsMember_4e2147f5-add8-418e-b4f0-75e46593ce77" xlink:href="rock-20200630.xsd#rock_ThermoEnergySystemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a23bf20b-1c3e-4222-86e5-ee5c4b6fd376" xlink:to="loc_rock_ThermoEnergySystemsMember_4e2147f5-add8-418e-b4f0-75e46593ce77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ApeksMember_a5e4f90f-ed04-4465-8dc7-ec7347ccf91b" xlink:href="rock-20200630.xsd#rock_ApeksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a23bf20b-1c3e-4222-86e5-ee5c4b6fd376" xlink:to="loc_rock_ApeksMember_a5e4f90f-ed04-4465-8dc7-ec7347ccf91b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AcquisitionsScheduleofAcquiredIntangibleAssetsDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AcquisitionsScheduleofAcquiredIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AcquisitionsScheduleofAcquiredIntangibleAssetsDetails" xlink:type="extended" id="ib98e757467494bedb5f6746fb8a13564_AcquisitionsScheduleofAcquiredIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_0c79e682-dbb4-41f9-87b2-d4a453cde6e1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_ef86e6c4-8a48-4d68-8b8d-814e135d1e1d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_0c79e682-dbb4-41f9-87b2-d4a453cde6e1" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_ef86e6c4-8a48-4d68-8b8d-814e135d1e1d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_a5bf82ba-f7c0-44cd-b11b-3c895cb2e0b3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_0c79e682-dbb4-41f9-87b2-d4a453cde6e1" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_a5bf82ba-f7c0-44cd-b11b-3c895cb2e0b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_33f520f1-dc28-483c-84ad-0051d1f97177" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_0c79e682-dbb4-41f9-87b2-d4a453cde6e1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_33f520f1-dc28-483c-84ad-0051d1f97177" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_919ac674-eb02-4ce2-b1d6-fec975e787e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_33f520f1-dc28-483c-84ad-0051d1f97177" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_919ac674-eb02-4ce2-b1d6-fec975e787e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_919ac674-eb02-4ce2-b1d6-fec975e787e2_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_919ac674-eb02-4ce2-b1d6-fec975e787e2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_919ac674-eb02-4ce2-b1d6-fec975e787e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a38b05ab-7cc7-4fc1-b22d-d316153946c2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_919ac674-eb02-4ce2-b1d6-fec975e787e2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a38b05ab-7cc7-4fc1-b22d-d316153946c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_DeltaSeparationsMember_3ad05dfe-f705-4adb-90fb-45b2c29d58b1" xlink:href="rock-20200630.xsd#rock_DeltaSeparationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a38b05ab-7cc7-4fc1-b22d-d316153946c2" xlink:to="loc_rock_DeltaSeparationsMember_3ad05dfe-f705-4adb-90fb-45b2c29d58b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ThermoEnergySystemsMember_bdc8f2ad-387c-4026-806f-7192b1fc7d30" xlink:href="rock-20200630.xsd#rock_ThermoEnergySystemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a38b05ab-7cc7-4fc1-b22d-d316153946c2" xlink:to="loc_rock_ThermoEnergySystemsMember_bdc8f2ad-387c-4026-806f-7192b1fc7d30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ApeksMember_cea99862-8f42-4f57-ad63-82851fcdd77c" xlink:href="rock-20200630.xsd#rock_ApeksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_a38b05ab-7cc7-4fc1-b22d-d316153946c2" xlink:to="loc_rock_ApeksMember_cea99862-8f42-4f57-ad63-82851fcdd77c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2c5b527d-3f51-4e81-a1af-a4eee5cc298a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_33f520f1-dc28-483c-84ad-0051d1f97177" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2c5b527d-3f51-4e81-a1af-a4eee5cc298a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2c5b527d-3f51-4e81-a1af-a4eee5cc298a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2c5b527d-3f51-4e81-a1af-a4eee5cc298a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2c5b527d-3f51-4e81-a1af-a4eee5cc298a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_2c5b527d-3f51-4e81-a1af-a4eee5cc298a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_2bd281cb-9136-41f7-a750-fe60a0f30ba7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:to="loc_us-gaap_TrademarksMember_2bd281cb-9136-41f7-a750-fe60a0f30ba7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TechnologyEquipmentMember_644166b3-306e-43a4-8f11-9c44e7f51344" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TechnologyEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:to="loc_us-gaap_TechnologyEquipmentMember_644166b3-306e-43a4-8f11-9c44e7f51344" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_27538b8b-0a97-43dc-90a2-dd8e36d13151" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:to="loc_us-gaap_CustomerRelationshipsMember_27538b8b-0a97-43dc-90a2-dd8e36d13151" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_1e8c43cf-bb74-4e4e-858a-3092c1b3a24b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_1e8c43cf-bb74-4e4e-858a-3092c1b3a24b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_BacklogMember_b36a56b6-b120-4e75-be30-4b04fc736a3c" xlink:href="rock-20200630.xsd#rock_BacklogMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e1ea9729-cd75-46e6-9983-1ec276692ea0" xlink:to="loc_rock_BacklogMember_b36a56b6-b120-4e75-be30-4b04fc736a3c" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AcquisitionsAcquisitionRelatedCostsDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AcquisitionsAcquisitionRelatedCostsDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AcquisitionsAcquisitionRelatedCostsDetails" xlink:type="extended" id="icf8644bd174c41488aa7245959082da8_AcquisitionsAcquisitionRelatedCostsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_da2a2363-fdb5-462e-af01-279875ef5d4b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_de327896-dad7-4623-a894-27e432655671" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da2a2363-fdb5-462e-af01-279875ef5d4b" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_de327896-dad7-4623-a894-27e432655671" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_565677bd-b6d3-4e27-bad1-d76355e45525" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da2a2363-fdb5-462e-af01-279875ef5d4b" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_565677bd-b6d3-4e27-bad1-d76355e45525" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_c973d104-bf96-495a-9531-9a93e94161f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_565677bd-b6d3-4e27-bad1-d76355e45525" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_c973d104-bf96-495a-9531-9a93e94161f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_c973d104-bf96-495a-9531-9a93e94161f6_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_c973d104-bf96-495a-9531-9a93e94161f6" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_c973d104-bf96-495a-9531-9a93e94161f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_ffc86dda-affa-4cb9-814f-502db1320b73" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_c973d104-bf96-495a-9531-9a93e94161f6" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_ffc86dda-affa-4cb9-814f-502db1320b73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_418a69c6-04d0-44f8-b6f2-a015f5cb84a7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_ffc86dda-affa-4cb9-814f-502db1320b73" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_418a69c6-04d0-44f8-b6f2-a015f5cb84a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_9fba8206-3efc-4c62-8aff-75a8ce7f62e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_ffc86dda-affa-4cb9-814f-502db1320b73" xlink:to="loc_us-gaap_CostOfSalesMember_9fba8206-3efc-4c62-8aff-75a8ce7f62e9" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssets" xlink:type="simple" xlink:href="rock-20200630.xsd#GoodwillandRelatedIntangibleAssets"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssets" xlink:type="extended" id="ibf95b96811c847d6ac5325149f997982_GoodwillandRelatedIntangibleAssets"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsTables" xlink:type="simple" xlink:href="rock-20200630.xsd#GoodwillandRelatedIntangibleAssetsTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsTables" xlink:type="extended" id="id5cf31a08a0645e1b17adac90bfbafad_GoodwillandRelatedIntangibleAssetsTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsScheduleofChangesinCarryingAmountofGoodwillDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#GoodwillandRelatedIntangibleAssetsScheduleofChangesinCarryingAmountofGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsScheduleofChangesinCarryingAmountofGoodwillDetails" xlink:type="extended" id="id668ec60835742b8a602eac191ead1e5_GoodwillandRelatedIntangibleAssetsScheduleofChangesinCarryingAmountofGoodwillDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_75755237-0bc8-4d4d-8d52-2f0d5b49fe76" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_0423902c-9b3a-42f7-bcf3-41ff9378818f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_75755237-0bc8-4d4d-8d52-2f0d5b49fe76" xlink:to="loc_us-gaap_GoodwillRollForward_0423902c-9b3a-42f7-bcf3-41ff9378818f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_a22ec431-0404-4b90-a922-b5e3b88f6f93" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_0423902c-9b3a-42f7-bcf3-41ff9378818f" xlink:to="loc_us-gaap_Goodwill_a22ec431-0404-4b90-a922-b5e3b88f6f93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_ec5fb0e9-cdbc-447f-a6fd-f99380cd2917" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_0423902c-9b3a-42f7-bcf3-41ff9378818f" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_ec5fb0e9-cdbc-447f-a6fd-f99380cd2917" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_57944aca-f347-46c8-8cda-b9c72aeb6457" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillPurchaseAccountingAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_0423902c-9b3a-42f7-bcf3-41ff9378818f" xlink:to="loc_us-gaap_GoodwillPurchaseAccountingAdjustments_57944aca-f347-46c8-8cda-b9c72aeb6457" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_070f27d1-f49f-4395-9a81-cab3caa3532d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_0423902c-9b3a-42f7-bcf3-41ff9378818f" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_070f27d1-f49f-4395-9a81-cab3caa3532d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_4efdbc30-d651-4bef-89d1-3504192c3a6a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_7a453ad4-75b5-4227-bb75-9ea04b64b094" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_75755237-0bc8-4d4d-8d52-2f0d5b49fe76" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_7a453ad4-75b5-4227-bb75-9ea04b64b094" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_4d95cff4-467c-4fdc-ac4a-edd5b5da1488" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_7a453ad4-75b5-4227-bb75-9ea04b64b094" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_4d95cff4-467c-4fdc-ac4a-edd5b5da1488" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_4d95cff4-467c-4fdc-ac4a-edd5b5da1488_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_4d95cff4-467c-4fdc-ac4a-edd5b5da1488" xlink:to="loc_us-gaap_SegmentDomain_4d95cff4-467c-4fdc-ac4a-edd5b5da1488_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_43dfe6d4-48aa-4b07-b03f-16a39d22736d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_4d95cff4-467c-4fdc-ac4a-edd5b5da1488" xlink:to="loc_us-gaap_SegmentDomain_43dfe6d4-48aa-4b07-b03f-16a39d22736d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_RenewableEnergyandConservationMember_d8c0a0e1-85be-4501-92a6-e162a65cee73" xlink:href="rock-20200630.xsd#rock_RenewableEnergyandConservationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_43dfe6d4-48aa-4b07-b03f-16a39d22736d" xlink:to="loc_rock_RenewableEnergyandConservationMember_d8c0a0e1-85be-4501-92a6-e162a65cee73" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ResidentialProductsMember_3007e688-6fb1-4cda-b54d-7200fd5d14be" xlink:href="rock-20200630.xsd#rock_ResidentialProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_43dfe6d4-48aa-4b07-b03f-16a39d22736d" xlink:to="loc_rock_ResidentialProductsMember_3007e688-6fb1-4cda-b54d-7200fd5d14be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_IndustrialAndInfrastructureProductsMember_efa0bc3b-c10e-421e-9750-0e13bc5414d6" xlink:href="rock-20200630.xsd#rock_IndustrialAndInfrastructureProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_43dfe6d4-48aa-4b07-b03f-16a39d22736d" xlink:to="loc_rock_IndustrialAndInfrastructureProductsMember_efa0bc3b-c10e-421e-9750-0e13bc5414d6" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsScheduleofAcquiredIntangibleAssetsDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#GoodwillandRelatedIntangibleAssetsScheduleofAcquiredIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsScheduleofAcquiredIntangibleAssetsDetails" xlink:type="extended" id="if61073c9936e4b92a716e0e16f5ac88a_GoodwillandRelatedIntangibleAssetsScheduleofAcquiredIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_0801e513-e711-40af-bab9-1932242c20d3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_0801e513-e711-40af-bab9-1932242c20d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_14200c65-7e01-42de-9baf-3949b12f9ccb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_14200c65-7e01-42de-9baf-3949b12f9ccb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_AcquiredIntangibleAssetsTotal_67da67b1-1b0e-4c22-bf9d-f6c439c7a5e7" xlink:href="rock-20200630.xsd#rock_AcquiredIntangibleAssetsTotal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_rock_AcquiredIntangibleAssetsTotal_67da67b1-1b0e-4c22-bf9d-f6c439c7a5e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_IndefiniteLivedAccumulatedAmortization_55789bc2-0ce3-42e2-8e3b-871c47b6d218" xlink:href="rock-20200630.xsd#rock_IndefiniteLivedAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_rock_IndefiniteLivedAccumulatedAmortization_55789bc2-0ce3-42e2-8e3b-871c47b6d218" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_e284c821-ae71-4589-82dc-8f6fa8b5aede" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_e284c821-ae71-4589-82dc-8f6fa8b5aede" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_TotalAcquiredIntangibleAssetsAccumulatedAmortization_32917043-5972-43db-928e-24243ef1ebc4" xlink:href="rock-20200630.xsd#rock_TotalAcquiredIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_rock_TotalAcquiredIntangibleAssetsAccumulatedAmortization_32917043-5972-43db-928e-24243ef1ebc4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_e20d1540-fb41-44ff-90d5-851a43415248" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4fbd396b-39a1-4a01-81fa-168a7c2c1d8a" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_e20d1540-fb41-44ff-90d5-851a43415248" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_4e8d7dec-8126-4709-b7b4-a16e29f3191e" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_e20d1540-fb41-44ff-90d5-851a43415248" xlink:to="loc_srt_RangeAxis_4e8d7dec-8126-4709-b7b4-a16e29f3191e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4e8d7dec-8126-4709-b7b4-a16e29f3191e_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_4e8d7dec-8126-4709-b7b4-a16e29f3191e" xlink:to="loc_srt_RangeMember_4e8d7dec-8126-4709-b7b4-a16e29f3191e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_91547218-302c-4e22-a070-56a321baf8ec" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_4e8d7dec-8126-4709-b7b4-a16e29f3191e" xlink:to="loc_srt_RangeMember_91547218-302c-4e22-a070-56a321baf8ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_17cdb2f3-e202-43e2-af30-2d0b97085fb4" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_91547218-302c-4e22-a070-56a321baf8ec" xlink:to="loc_srt_MinimumMember_17cdb2f3-e202-43e2-af30-2d0b97085fb4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_a3a4b23f-6a77-4c47-9955-8aee4444c9e0" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_91547218-302c-4e22-a070-56a321baf8ec" xlink:to="loc_srt_MaximumMember_a3a4b23f-6a77-4c47-9955-8aee4444c9e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_bee49a53-a503-4c7d-a213-d39dcb5bb904" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_e20d1540-fb41-44ff-90d5-851a43415248" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_bee49a53-a503-4c7d-a213-d39dcb5bb904" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_bee49a53-a503-4c7d-a213-d39dcb5bb904_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_bee49a53-a503-4c7d-a213-d39dcb5bb904" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_bee49a53-a503-4c7d-a213-d39dcb5bb904_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3871a027-82ab-4314-8937-fc2f230b64d3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_bee49a53-a503-4c7d-a213-d39dcb5bb904" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3871a027-82ab-4314-8937-fc2f230b64d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_1f4f16d5-ed63-46f3-94cb-2569b9236247" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_3871a027-82ab-4314-8937-fc2f230b64d3" xlink:to="loc_us-gaap_TrademarksMember_1f4f16d5-ed63-46f3-94cb-2569b9236247" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_0c5f3913-4ed6-4181-b95f-b5e8a5a15798" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_e20d1540-fb41-44ff-90d5-851a43415248" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_0c5f3913-4ed6-4181-b95f-b5e8a5a15798" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0c5f3913-4ed6-4181-b95f-b5e8a5a15798_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_0c5f3913-4ed6-4181-b95f-b5e8a5a15798" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0c5f3913-4ed6-4181-b95f-b5e8a5a15798_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_0c5f3913-4ed6-4181-b95f-b5e8a5a15798" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_6856aa29-37cd-4ac1-ae31-bfde2ed70c3f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:to="loc_us-gaap_TrademarksMember_6856aa29-37cd-4ac1-ae31-bfde2ed70c3f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnpatentedTechnologyMember_18420859-35c4-423f-aaed-ebc957aae21f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_UnpatentedTechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:to="loc_us-gaap_UnpatentedTechnologyMember_18420859-35c4-423f-aaed-ebc957aae21f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_aae13ea3-a536-41ed-9695-da43a9ec7107" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:to="loc_us-gaap_CustomerRelationshipsMember_aae13ea3-a536-41ed-9695-da43a9ec7107" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_4ae9b3a3-54a4-416e-ada7-786a5d68816c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_4ae9b3a3-54a4-416e-ada7-786a5d68816c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_BacklogMember_99f98213-a507-4114-a541-eafa14e5c5cf" xlink:href="rock-20200630.xsd#rock_BacklogMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_99f8ca17-f007-4546-b6fc-44d1c0ff43dd" xlink:to="loc_rock_BacklogMember_99f98213-a507-4114-a541-eafa14e5c5cf" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsScheduleofAmortizationExpenseDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#GoodwillandRelatedIntangibleAssetsScheduleofAmortizationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/GoodwillandRelatedIntangibleAssetsScheduleofAmortizationExpenseDetails" xlink:type="extended" id="ia77e66a356bb403db1432e91ed6cefb0_GoodwillandRelatedIntangibleAssetsScheduleofAmortizationExpenseDetails"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/LongTermDebt" xlink:type="simple" xlink:href="rock-20200630.xsd#LongTermDebt"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/LongTermDebt" xlink:type="extended" id="i1eb311f07d6e415aa02e123cf7cc5448_LongTermDebt"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/LongTermDebtNarrativeDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#LongTermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/LongTermDebtNarrativeDetails" xlink:type="extended" id="i3f56993f9f764050bb90b76093000ef4_LongTermDebtNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_1c1b8c1c-5059-46f4-b96e-03201e9e2728" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_LongTermDebt_1c1b8c1c-5059-46f4-b96e-03201e9e2728" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_0281fa18-d471-40a4-b624-0e0510a40d0a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_0281fa18-d471-40a4-b624-0e0510a40d0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_54f4a2d6-b5a6-4155-b650-cd99b30a858b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_54f4a2d6-b5a6-4155-b650-cd99b30a858b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_2b40734c-6222-4f47-9d55-29d0722b9d94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_2b40734c-6222-4f47-9d55-29d0722b9d94" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_DebtInstrumentNumberOfDebtCovenants_d9cf3197-1a62-4cd1-9cb0-f31f7b419a7d" xlink:href="rock-20200630.xsd#rock_DebtInstrumentNumberOfDebtCovenants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_rock_DebtInstrumentNumberOfDebtCovenants_d9cf3197-1a62-4cd1-9cb0-f31f7b419a7d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_6247e5ed-cab3-4b8f-a970-52e89d613e67" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_6247e5ed-cab3-4b8f-a970-52e89d613e67" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_d2140b82-44cd-48ed-9946-bc7c40c1ef93" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_LineOfCredit_d2140b82-44cd-48ed-9946-bc7c40c1ef93" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_d4e1b304-f07d-498c-9916-455abafe619f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d1be694c-08ce-4110-bfc8-bc509c8080a0" xlink:to="loc_us-gaap_DebtInstrumentTable_d4e1b304-f07d-498c-9916-455abafe619f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a4de0454-0da1-413a-9aa6-6e91b0cd91ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d4e1b304-f07d-498c-9916-455abafe619f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a4de0454-0da1-413a-9aa6-6e91b0cd91ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a4de0454-0da1-413a-9aa6-6e91b0cd91ef_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a4de0454-0da1-413a-9aa6-6e91b0cd91ef" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a4de0454-0da1-413a-9aa6-6e91b0cd91ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_379bddf2-1697-4aae-8252-c1e7ad1fd7da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a4de0454-0da1-413a-9aa6-6e91b0cd91ef" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_379bddf2-1697-4aae-8252-c1e7ad1fd7da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_7c9ff611-d41c-45d0-a0dd-81ca952ed0b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_379bddf2-1697-4aae-8252-c1e7ad1fd7da" xlink:to="loc_us-gaap_LineOfCreditMember_7c9ff611-d41c-45d0-a0dd-81ca952ed0b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MediumTermNotesMember_5d9f7ad8-775d-4c39-b848-7a175de55e53" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MediumTermNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_379bddf2-1697-4aae-8252-c1e7ad1fd7da" xlink:to="loc_us-gaap_MediumTermNotesMember_5d9f7ad8-775d-4c39-b848-7a175de55e53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_5a3d4cb9-92c5-4579-86b0-9dfb26bf403a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d4e1b304-f07d-498c-9916-455abafe619f" xlink:to="loc_us-gaap_CreditFacilityAxis_5a3d4cb9-92c5-4579-86b0-9dfb26bf403a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_5a3d4cb9-92c5-4579-86b0-9dfb26bf403a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_5a3d4cb9-92c5-4579-86b0-9dfb26bf403a" xlink:to="loc_us-gaap_CreditFacilityDomain_5a3d4cb9-92c5-4579-86b0-9dfb26bf403a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_5a9a904c-5c54-452a-bf24-e1f115a94398" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_5a3d4cb9-92c5-4579-86b0-9dfb26bf403a" xlink:to="loc_us-gaap_CreditFacilityDomain_5a9a904c-5c54-452a-bf24-e1f115a94398" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_0a07f607-f3ee-494f-9e07-1bf6dfd61509" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_5a9a904c-5c54-452a-bf24-e1f115a94398" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_0a07f607-f3ee-494f-9e07-1bf6dfd61509" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_302e8d52-4c20-46a7-b97c-3f4e3cb0f18e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevolvingCreditFacilityMember_0a07f607-f3ee-494f-9e07-1bf6dfd61509" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_302e8d52-4c20-46a7-b97c-3f4e3cb0f18e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_7b6e3311-02dc-4d91-89c7-4e9abe1127da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d4e1b304-f07d-498c-9916-455abafe619f" xlink:to="loc_us-gaap_DebtInstrumentAxis_7b6e3311-02dc-4d91-89c7-4e9abe1127da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_7b6e3311-02dc-4d91-89c7-4e9abe1127da_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_7b6e3311-02dc-4d91-89c7-4e9abe1127da" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_7b6e3311-02dc-4d91-89c7-4e9abe1127da_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a5e24ba3-25e2-40ee-a53a-1a5bb2fdcf29" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_7b6e3311-02dc-4d91-89c7-4e9abe1127da" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a5e24ba3-25e2-40ee-a53a-1a5bb2fdcf29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_A2019SeniorCreditAgreementMember_15f3cce2-c032-4381-a9d4-5eb46d8fb2d2" xlink:href="rock-20200630.xsd#rock_A2019SeniorCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_a5e24ba3-25e2-40ee-a53a-1a5bb2fdcf29" xlink:to="loc_rock_A2019SeniorCreditAgreementMember_15f3cce2-c032-4381-a9d4-5eb46d8fb2d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SeniorCreditAgreementMember_2070ec2e-d758-4836-b3c8-942646fac124" xlink:href="rock-20200630.xsd#rock_SeniorCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_a5e24ba3-25e2-40ee-a53a-1a5bb2fdcf29" xlink:to="loc_rock_SeniorCreditAgreementMember_2070ec2e-d758-4836-b3c8-942646fac124" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccumulatedOtherComprehensiveLossIncome" xlink:type="simple" xlink:href="rock-20200630.xsd#AccumulatedOtherComprehensiveLossIncome"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccumulatedOtherComprehensiveLossIncome" xlink:type="extended" id="iadd5ebaabd3042a194bb2173e5d982bc_AccumulatedOtherComprehensiveLossIncome"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccumulatedOtherComprehensiveLossIncomeTables" xlink:type="simple" xlink:href="rock-20200630.xsd#AccumulatedOtherComprehensiveLossIncomeTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccumulatedOtherComprehensiveLossIncomeTables" xlink:type="extended" id="i097b28ee5c974e9683a123744efd3f39_AccumulatedOtherComprehensiveLossIncomeTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/AccumulatedOtherComprehensiveLossIncomeDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#AccumulatedOtherComprehensiveLossIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/AccumulatedOtherComprehensiveLossIncomeDetails" xlink:type="extended" id="i58474534f58d4e5ba2c7b87ac1aa8f76_AccumulatedOtherComprehensiveLossIncomeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_b907ebb8-d083-40c8-8fb6-187c6e322564" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_b907ebb8-d083-40c8-8fb6-187c6e322564" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeTax1_95e69640-9527-4f30-8eab-17490a5e2c33" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeTax1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeTax1_95e69640-9527-4f30-8eab-17490a5e2c33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_AccumulatedOtherComprehensiveIncomeLossTax_bd706381-30ee-416b-83d0-052fb735e308" xlink:href="rock-20200630.xsd#rock_AccumulatedOtherComprehensiveIncomeLossTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:to="loc_rock_AccumulatedOtherComprehensiveIncomeLossTax_bd706381-30ee-416b-83d0-052fb735e308" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6d0d1fd8-df18-4ea5-96e7-0e6798b47cb1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6d0d1fd8-df18-4ea5-96e7-0e6798b47cb1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_28dd64cf-850f-466a-b3a1-edb6b52dd291" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_28dd64cf-850f-466a-b3a1-edb6b52dd291" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_f7c8ed11-e623-4e6f-b568-9d908036def6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_f7c8ed11-e623-4e6f-b568-9d908036def6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9d700a31-f695-43ff-abb6-a602511e085b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_bc1a1e2e-166f-4186-9c3e-13fc873d4a13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9d700a31-f695-43ff-abb6-a602511e085b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeTax1_1f434b59-2bcb-484e-a441-df9b7475e765" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeTax1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_AccumulatedOtherComprehensiveIncomeLossTax_c71f4bf0-80dc-42bf-806a-e02aaea0cb0e" xlink:href="rock-20200630.xsd#rock_AccumulatedOtherComprehensiveIncomeLossTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9663d3f3-1011-4905-9ebc-67e6830f517e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_32a531a4-e401-4177-8368-8de5d63fc363" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_b907ebb8-d083-40c8-8fb6-187c6e322564" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_32a531a4-e401-4177-8368-8de5d63fc363" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_e839de64-5db5-499f-9acf-e9be3aa72a81" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_32a531a4-e401-4177-8368-8de5d63fc363" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_e839de64-5db5-499f-9acf-e9be3aa72a81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_e839de64-5db5-499f-9acf-e9be3aa72a81_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_e839de64-5db5-499f-9acf-e9be3aa72a81" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_e839de64-5db5-499f-9acf-e9be3aa72a81_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_7daf931c-c596-497c-a7f1-d0859d5549dd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_e839de64-5db5-499f-9acf-e9be3aa72a81" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_7daf931c-c596-497c-a7f1-d0859d5549dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_d5fe8103-f778-45c0-9d24-34612aafbcd7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_7daf931c-c596-497c-a7f1-d0859d5549dd" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_d5fe8103-f778-45c0-9d24-34612aafbcd7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_df013bdb-6af3-47de-a49c-a54ced2c79d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_32a531a4-e401-4177-8368-8de5d63fc363" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_df013bdb-6af3-47de-a49c-a54ced2c79d5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_df013bdb-6af3-47de-a49c-a54ced2c79d5_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_df013bdb-6af3-47de-a49c-a54ced2c79d5" xlink:to="loc_us-gaap_EquityComponentDomain_df013bdb-6af3-47de-a49c-a54ced2c79d5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_cbedc850-7cda-4929-aed3-8421a5fe98e6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_df013bdb-6af3-47de-a49c-a54ced2c79d5" xlink:to="loc_us-gaap_EquityComponentDomain_cbedc850-7cda-4929-aed3-8421a5fe98e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_a7e2f6a0-f74b-409c-bb75-756d7716a1ed" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cbedc850-7cda-4929-aed3-8421a5fe98e6" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_a7e2f6a0-f74b-409c-bb75-756d7716a1ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_53047a74-f97e-40b7-8a19-84e7174d5bb9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_cbedc850-7cda-4929-aed3-8421a5fe98e6" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_53047a74-f97e-40b7-8a19-84e7174d5bb9" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EquityBasedCompensation" xlink:type="simple" xlink:href="rock-20200630.xsd#EquityBasedCompensation"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EquityBasedCompensation" xlink:type="extended" id="id4872c2aef1b4c7fb16af054525f9bd8_EquityBasedCompensation"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EquityBasedCompensationTables" xlink:type="simple" xlink:href="rock-20200630.xsd#EquityBasedCompensationTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EquityBasedCompensationTables" xlink:type="extended" id="id7ccb5900a1e42608d6bec1785858757_EquityBasedCompensationTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EquityBasedCompensationIncentivePlanDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#EquityBasedCompensationIncentivePlanDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EquityBasedCompensationIncentivePlanDetails" xlink:type="extended" id="i5278bfae639e468fb9eb9d5315a3ea90_EquityBasedCompensationIncentivePlanDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_662d3f62-2c5a-4dd4-907a-41d1aa56895a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_5471e448-da3d-4acc-ba02-3745d3581b45" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_662d3f62-2c5a-4dd4-907a-41d1aa56895a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_5471e448-da3d-4acc-ba02-3745d3581b45" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3d9f2dca-8c50-4921-b9f0-a28109502805" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_662d3f62-2c5a-4dd4-907a-41d1aa56895a" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3d9f2dca-8c50-4921-b9f0-a28109502805" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_3e4fcfbd-0455-4c3a-a823-8591192ae7e1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3d9f2dca-8c50-4921-b9f0-a28109502805" xlink:to="loc_us-gaap_PlanNameAxis_3e4fcfbd-0455-4c3a-a823-8591192ae7e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_3e4fcfbd-0455-4c3a-a823-8591192ae7e1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_3e4fcfbd-0455-4c3a-a823-8591192ae7e1" xlink:to="loc_us-gaap_PlanNameDomain_3e4fcfbd-0455-4c3a-a823-8591192ae7e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_4544563b-f2bb-4c63-aa2d-0c035e5994db" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_3e4fcfbd-0455-4c3a-a823-8591192ae7e1" xlink:to="loc_us-gaap_PlanNameDomain_4544563b-f2bb-4c63-aa2d-0c035e5994db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_A2018PlanMember_2558ad08-9f53-4053-ae40-3baf9e5097bb" xlink:href="rock-20200630.xsd#rock_A2018PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_4544563b-f2bb-4c63-aa2d-0c035e5994db" xlink:to="loc_rock_A2018PlanMember_2558ad08-9f53-4053-ae40-3baf9e5097bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_2085dfe3-de55-43e1-af89-4b25254c7399" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3d9f2dca-8c50-4921-b9f0-a28109502805" xlink:to="loc_us-gaap_AwardTypeAxis_2085dfe3-de55-43e1-af89-4b25254c7399" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2085dfe3-de55-43e1-af89-4b25254c7399_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2085dfe3-de55-43e1-af89-4b25254c7399" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2085dfe3-de55-43e1-af89-4b25254c7399_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2835796b-c85b-4b08-918b-59b34db14148" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2085dfe3-de55-43e1-af89-4b25254c7399" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2835796b-c85b-4b08-918b-59b34db14148" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_0624168b-8c81-46ad-a0c9-af5f75c3d9bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2835796b-c85b-4b08-918b-59b34db14148" xlink:to="loc_us-gaap_CommonStockMember_0624168b-8c81-46ad-a0c9-af5f75c3d9bb" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EquityBasedCompensationScheduleofNumberofAwardsandWeightedAverageGrantDateFairValueDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#EquityBasedCompensationScheduleofNumberofAwardsandWeightedAverageGrantDateFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EquityBasedCompensationScheduleofNumberofAwardsandWeightedAverageGrantDateFairValueDetails" xlink:type="extended" id="i1c85c9291bf245c8accb7be03bcb0eaf_EquityBasedCompensationScheduleofNumberofAwardsandWeightedAverageGrantDateFairValueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_e90654ae-ebd3-4697-b6ed-60efda1f07a4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_e90654ae-ebd3-4697-b6ed-60efda1f07a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_e1a578cf-7045-4792-ae8f-5b52bb0ace87" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_e1a578cf-7045-4792-ae8f-5b52bb0ace87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsBasedOnTargetedThresholdsPercent_602d4478-6c2e-41b8-a08b-4ce912cb235e" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsBasedOnTargetedThresholdsPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_rock_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsBasedOnTargetedThresholdsPercent_602d4478-6c2e-41b8-a08b-4ce912cb235e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardPerformancePeriod_b2b518a9-a2d6-4059-bc34-011fb8ce9305" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardPerformancePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_rock_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardPerformancePeriod_b2b518a9-a2d6-4059-bc34-011fb8ce9305" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_c4268c42-1809-4a60-84e8-0f67e2b8ab07" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_c4268c42-1809-4a60-84e8-0f67e2b8ab07" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodExpectedToConvertPercentageOfTotalAward_8e8cfc0d-59f1-40a7-a55a-cf5f65aea47d" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodExpectedToConvertPercentageOfTotalAward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_rock_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodExpectedToConvertPercentageOfTotalAward_8e8cfc0d-59f1-40a7-a55a-cf5f65aea47d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d4b3add0-916d-49ce-bfc5-805b405775ad" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_114eca79-2684-48e6-a694-52307fcf3f01" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_114eca79-2684-48e6-a694-52307fcf3f01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_114eca79-2684-48e6-a694-52307fcf3f01_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_114eca79-2684-48e6-a694-52307fcf3f01" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_114eca79-2684-48e6-a694-52307fcf3f01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_80a1a5f1-0505-4bb8-8c6f-945f73ba13ae" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_114eca79-2684-48e6-a694-52307fcf3f01" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_80a1a5f1-0505-4bb8-8c6f-945f73ba13ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationMeasurementReturnOnInvestedCapitalMember_f0d3b319-6650-4368-874e-3a55a4dfa910" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationMeasurementReturnOnInvestedCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_80a1a5f1-0505-4bb8-8c6f-945f73ba13ae" xlink:to="loc_rock_SharebasedCompensationMeasurementReturnOnInvestedCapitalMember_f0d3b319-6650-4368-874e-3a55a4dfa910" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationMeasurementGrossProfitThresholdMember_e9d9eef0-9edc-4931-b8a7-ba7ed5e46783" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationMeasurementGrossProfitThresholdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_80a1a5f1-0505-4bb8-8c6f-945f73ba13ae" xlink:to="loc_rock_SharebasedCompensationMeasurementGrossProfitThresholdMember_e9d9eef0-9edc-4931-b8a7-ba7ed5e46783" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationMeasurementTotalShareholderReturnMember_082bfa0f-5f92-44dd-819f-e2337c210618" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationMeasurementTotalShareholderReturnMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_80a1a5f1-0505-4bb8-8c6f-945f73ba13ae" xlink:to="loc_rock_SharebasedCompensationMeasurementTotalShareholderReturnMember_082bfa0f-5f92-44dd-819f-e2337c210618" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_4b93646c-9197-47ae-b19a-294469bfc1dd" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:to="loc_srt_RangeAxis_4b93646c-9197-47ae-b19a-294469bfc1dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4b93646c-9197-47ae-b19a-294469bfc1dd_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_4b93646c-9197-47ae-b19a-294469bfc1dd" xlink:to="loc_srt_RangeMember_4b93646c-9197-47ae-b19a-294469bfc1dd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e88792e3-cf46-455d-8398-716fe1294f2a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_4b93646c-9197-47ae-b19a-294469bfc1dd" xlink:to="loc_srt_RangeMember_e88792e3-cf46-455d-8398-716fe1294f2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d5c69d9f-f5e6-4935-808d-b898cf65854d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e88792e3-cf46-455d-8398-716fe1294f2a" xlink:to="loc_srt_MinimumMember_d5c69d9f-f5e6-4935-808d-b898cf65854d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d2805d78-87ef-4b04-8cee-f3d4fc0865f4" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e88792e3-cf46-455d-8398-716fe1294f2a" xlink:to="loc_srt_MaximumMember_d2805d78-87ef-4b04-8cee-f3d4fc0865f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_eeec9d5c-0c8f-4f81-b26c-82ae0bba6fa4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:to="loc_us-gaap_PlanNameAxis_eeec9d5c-0c8f-4f81-b26c-82ae0bba6fa4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_eeec9d5c-0c8f-4f81-b26c-82ae0bba6fa4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_eeec9d5c-0c8f-4f81-b26c-82ae0bba6fa4" xlink:to="loc_us-gaap_PlanNameDomain_eeec9d5c-0c8f-4f81-b26c-82ae0bba6fa4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_0cecb74e-41d4-4c7b-8558-2f3ee4207fc5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_eeec9d5c-0c8f-4f81-b26c-82ae0bba6fa4" xlink:to="loc_us-gaap_PlanNameDomain_0cecb74e-41d4-4c7b-8558-2f3ee4207fc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_A2018PlanMember_afb10fde-5feb-41cc-9480-21ecd24b3e63" xlink:href="rock-20200630.xsd#rock_A2018PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_0cecb74e-41d4-4c7b-8558-2f3ee4207fc5" xlink:to="loc_rock_A2018PlanMember_afb10fde-5feb-41cc-9480-21ecd24b3e63" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_0ac950da-37c3-4029-86a9-d9747eb69951" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:to="loc_srt_StatementScenarioAxis_0ac950da-37c3-4029-86a9-d9747eb69951" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_0ac950da-37c3-4029-86a9-d9747eb69951_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_0ac950da-37c3-4029-86a9-d9747eb69951" xlink:to="loc_srt_ScenarioUnspecifiedDomain_0ac950da-37c3-4029-86a9-d9747eb69951_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_dd2237cc-d70c-44a8-a574-3691c890602a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_0ac950da-37c3-4029-86a9-d9747eb69951" xlink:to="loc_srt_ScenarioUnspecifiedDomain_dd2237cc-d70c-44a8-a574-3691c890602a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_f3b50220-f15f-441e-ab9c-90c6525a546c" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_dd2237cc-d70c-44a8-a574-3691c890602a" xlink:to="loc_srt_ScenarioForecastMember_f3b50220-f15f-441e-ab9c-90c6525a546c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_611fb3d1-4563-420e-a7da-19b6080dfbb2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20222d54-1206-4cc8-af0f-53dd42cccd7e" xlink:to="loc_us-gaap_AwardTypeAxis_611fb3d1-4563-420e-a7da-19b6080dfbb2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_611fb3d1-4563-420e-a7da-19b6080dfbb2_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_611fb3d1-4563-420e-a7da-19b6080dfbb2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_611fb3d1-4563-420e-a7da-19b6080dfbb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80c354cc-0f92-4cf4-b4d1-4758445f8353" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_611fb3d1-4563-420e-a7da-19b6080dfbb2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80c354cc-0f92-4cf4-b4d1-4758445f8353" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_f9a84b24-6c4b-4dbf-a74d-326309f2fa02" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80c354cc-0f92-4cf4-b4d1-4758445f8353" xlink:to="loc_us-gaap_PerformanceSharesMember_f9a84b24-6c4b-4dbf-a74d-326309f2fa02" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_fd842c59-2e29-4441-9e6c-86ca5e7fd580" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80c354cc-0f92-4cf4-b4d1-4758445f8353" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_fd842c59-2e29-4441-9e6c-86ca5e7fd580" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_DeferredStockUnitsMember_2d22152f-ae9d-46b9-9758-bea3373b6ba1" xlink:href="rock-20200630.xsd#rock_DeferredStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80c354cc-0f92-4cf4-b4d1-4758445f8353" xlink:to="loc_rock_DeferredStockUnitsMember_2d22152f-ae9d-46b9-9758-bea3373b6ba1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_ae5fbd7f-b7c2-429d-a39a-e6dd7c5ff1d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_80c354cc-0f92-4cf4-b4d1-4758445f8353" xlink:to="loc_us-gaap_RestrictedStockMember_ae5fbd7f-b7c2-429d-a39a-e6dd7c5ff1d5" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EquityBasedCompensationEquityBasedAwardsSettledinCashDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#EquityBasedCompensationEquityBasedAwardsSettledinCashDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EquityBasedCompensationEquityBasedAwardsSettledinCashDetails" xlink:type="extended" id="i40f7da105356498b963259ee84a50548_EquityBasedCompensationEquityBasedAwardsSettledinCashDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ee8dcd8f-a2b8-4f03-914b-227170b97db4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_AccruedEquityBasedCompensation_3cef1e0d-b45a-44fc-b7d9-cb1e4575c5d6" xlink:href="rock-20200630.xsd#rock_AccruedEquityBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ee8dcd8f-a2b8-4f03-914b-227170b97db4" xlink:to="loc_rock_AccruedEquityBasedCompensation_3cef1e0d-b45a-44fc-b7d9-cb1e4575c5d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SharebasedCompensationArrangementBySharebasedPaymentAwardAverageCompanyStockPriceMeasurementPeriod_507ded7b-2d00-44db-961d-968c2a34fbd2" xlink:href="rock-20200630.xsd#rock_SharebasedCompensationArrangementBySharebasedPaymentAwardAverageCompanyStockPriceMeasurementPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ee8dcd8f-a2b8-4f03-914b-227170b97db4" xlink:to="loc_rock_SharebasedCompensationArrangementBySharebasedPaymentAwardAverageCompanyStockPriceMeasurementPeriod_507ded7b-2d00-44db-961d-968c2a34fbd2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_66a8812e-328d-4d5f-9e35-24e120d31cfd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ee8dcd8f-a2b8-4f03-914b-227170b97db4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_66a8812e-328d-4d5f-9e35-24e120d31cfd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsShareBasedLiabilitiesPaid_c1d38932-c89b-4dd7-8992-fc59e3a31f7a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsShareBasedLiabilitiesPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ee8dcd8f-a2b8-4f03-914b-227170b97db4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsShareBasedLiabilitiesPaid_c1d38932-c89b-4dd7-8992-fc59e3a31f7a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bf4bfbf7-e4cc-4086-81a0-9a34f175ea3d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ee8dcd8f-a2b8-4f03-914b-227170b97db4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bf4bfbf7-e4cc-4086-81a0-9a34f175ea3d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_a88461a4-d527-4683-b755-3ae1a2dd0c50" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bf4bfbf7-e4cc-4086-81a0-9a34f175ea3d" xlink:to="loc_us-gaap_PlanNameAxis_a88461a4-d527-4683-b755-3ae1a2dd0c50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_a88461a4-d527-4683-b755-3ae1a2dd0c50_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_a88461a4-d527-4683-b755-3ae1a2dd0c50" xlink:to="loc_us-gaap_PlanNameDomain_a88461a4-d527-4683-b755-3ae1a2dd0c50_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_91e10211-7cef-4072-a484-a7a0ff29297f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_a88461a4-d527-4683-b755-3ae1a2dd0c50" xlink:to="loc_us-gaap_PlanNameDomain_91e10211-7cef-4072-a484-a7a0ff29297f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ManagementStockPurchasePlanMember_3ed7af0e-3ca5-4dff-b7d9-df24a9628a3e" xlink:href="rock-20200630.xsd#rock_ManagementStockPurchasePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_91e10211-7cef-4072-a484-a7a0ff29297f" xlink:to="loc_rock_ManagementStockPurchasePlanMember_3ed7af0e-3ca5-4dff-b7d9-df24a9628a3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_65f9926c-d40d-49ff-9318-2c44f0a49af1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bf4bfbf7-e4cc-4086-81a0-9a34f175ea3d" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_65f9926c-d40d-49ff-9318-2c44f0a49af1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_65f9926c-d40d-49ff-9318-2c44f0a49af1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_65f9926c-d40d-49ff-9318-2c44f0a49af1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_65f9926c-d40d-49ff-9318-2c44f0a49af1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_30311eeb-c267-4357-96f8-219ebb84e3c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_65f9926c-d40d-49ff-9318-2c44f0a49af1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_30311eeb-c267-4357-96f8-219ebb84e3c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_NonCurrentLiabilitiesMember_5e607a4e-100c-4f08-9e97-62604a86d479" xlink:href="rock-20200630.xsd#rock_NonCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_30311eeb-c267-4357-96f8-219ebb84e3c1" xlink:to="loc_rock_NonCurrentLiabilitiesMember_5e607a4e-100c-4f08-9e97-62604a86d479" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_6437b8c3-9bd1-4b51-8e81-22b538d0cf61" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_bf4bfbf7-e4cc-4086-81a0-9a34f175ea3d" xlink:to="loc_us-gaap_AwardTypeAxis_6437b8c3-9bd1-4b51-8e81-22b538d0cf61" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6437b8c3-9bd1-4b51-8e81-22b538d0cf61_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6437b8c3-9bd1-4b51-8e81-22b538d0cf61" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6437b8c3-9bd1-4b51-8e81-22b538d0cf61_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_867b28db-de8a-46fc-8db9-16761d4b8117" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6437b8c3-9bd1-4b51-8e81-22b538d0cf61" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_867b28db-de8a-46fc-8db9-16761d4b8117" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_a645b3c5-0eeb-4801-9521-acc65e43f011" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_867b28db-de8a-46fc-8db9-16761d4b8117" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_a645b3c5-0eeb-4801-9521-acc65e43f011" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairments" xlink:type="simple" xlink:href="rock-20200630.xsd#ExitActivityCostsandAssetImpairments"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairments" xlink:type="extended" id="i1d542b470b3e47d19adb29e637ea79a2_ExitActivityCostsandAssetImpairments"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsTables" xlink:type="simple" xlink:href="rock-20200630.xsd#ExitActivityCostsandAssetImpairmentsTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsTables" xlink:type="extended" id="idb5000b917cd4937a5e603a7e73f38ae_ExitActivityCostsandAssetImpairmentsTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsNarrativeDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#ExitActivityCostsandAssetImpairmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsNarrativeDetails" xlink:type="extended" id="ifc350c08caab4f85ac40037e47de6998_ExitActivityCostsandAssetImpairmentsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_ff15b3c4-bfd3-4b09-ab46-bd039297d0b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_af3d74ca-fd77-42f2-a3c3-9fd36a013d83" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromDivestitureOfBusinesses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_ff15b3c4-bfd3-4b09-ab46-bd039297d0b0" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_af3d74ca-fd77-42f2-a3c3-9fd36a013d83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_21b6d5e4-f020-4f35-9c1b-8490fd1114e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_ff15b3c4-bfd3-4b09-ab46-bd039297d0b0" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_21b6d5e4-f020-4f35-9c1b-8490fd1114e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_d0ab6c74-ecdc-4c50-8519-7b75ee486120" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_ff15b3c4-bfd3-4b09-ab46-bd039297d0b0" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_d0ab6c74-ecdc-4c50-8519-7b75ee486120" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_cd4047e5-2529-4617-8a4e-2cdde02d4f4b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_d0ab6c74-ecdc-4c50-8519-7b75ee486120" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_cd4047e5-2529-4617-8a4e-2cdde02d4f4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_cd4047e5-2529-4617-8a4e-2cdde02d4f4b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_cd4047e5-2529-4617-8a4e-2cdde02d4f4b" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_cd4047e5-2529-4617-8a4e-2cdde02d4f4b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_e280a666-e5dc-4ab8-a3f5-ada41a9400d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_cd4047e5-2529-4617-8a4e-2cdde02d4f4b" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_e280a666-e5dc-4ab8-a3f5-ada41a9400d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ApartmentTourApplicationBusinessMember_a1890fb8-7f12-4374-b1ee-4751ecd1caea" xlink:href="rock-20200630.xsd#rock_ApartmentTourApplicationBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_e280a666-e5dc-4ab8-a3f5-ada41a9400d2" xlink:to="loc_rock_ApartmentTourApplicationBusinessMember_a1890fb8-7f12-4374-b1ee-4751ecd1caea" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsbySegmentDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsbySegmentDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsbySegmentDetails" xlink:type="extended" id="ide4abd0f323c4a87919a5dd729fa7ba0_ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsbySegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_75933fa7-8a0d-4bc8-8304-88dee4d3eb0f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_f242ffb7-0c50-4032-bccb-9ccb3d94f225" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_75933fa7-8a0d-4bc8-8304-88dee4d3eb0f" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_f242ffb7-0c50-4032-bccb-9ccb3d94f225" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessExitCosts1_a2db1010-983f-48af-bfa1-a056c248d918" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessExitCosts1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_75933fa7-8a0d-4bc8-8304-88dee4d3eb0f" xlink:to="loc_us-gaap_BusinessExitCosts1_a2db1010-983f-48af-bfa1-a056c248d918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_cde10e30-adda-4965-8e59-45264c5d82b1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_75933fa7-8a0d-4bc8-8304-88dee4d3eb0f" xlink:to="loc_us-gaap_RestructuringCharges_cde10e30-adda-4965-8e59-45264c5d82b1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_ac5ab8f6-538d-4225-a5b3-5d01b785dc86" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_75933fa7-8a0d-4bc8-8304-88dee4d3eb0f" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_ac5ab8f6-538d-4225-a5b3-5d01b785dc86" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_e9e33c1c-3b40-4938-8a39-6276433280a9" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_ac5ab8f6-538d-4225-a5b3-5d01b785dc86" xlink:to="loc_srt_ConsolidationItemsAxis_e9e33c1c-3b40-4938-8a39-6276433280a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_e9e33c1c-3b40-4938-8a39-6276433280a9_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_e9e33c1c-3b40-4938-8a39-6276433280a9" xlink:to="loc_srt_ConsolidationItemsDomain_e9e33c1c-3b40-4938-8a39-6276433280a9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_0694319c-1442-40c9-ada2-1371502f88e6" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_e9e33c1c-3b40-4938-8a39-6276433280a9" xlink:to="loc_srt_ConsolidationItemsDomain_0694319c-1442-40c9-ada2-1371502f88e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_a8a47a51-3df3-4193-9eed-e03478126460" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_0694319c-1442-40c9-ada2-1371502f88e6" xlink:to="loc_us-gaap_CorporateNonSegmentMember_a8a47a51-3df3-4193-9eed-e03478126460" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_14d6cf35-c7b5-4e83-80de-6cfef54f4cf0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_ac5ab8f6-538d-4225-a5b3-5d01b785dc86" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_14d6cf35-c7b5-4e83-80de-6cfef54f4cf0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_14d6cf35-c7b5-4e83-80de-6cfef54f4cf0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_14d6cf35-c7b5-4e83-80de-6cfef54f4cf0" xlink:to="loc_us-gaap_SegmentDomain_14d6cf35-c7b5-4e83-80de-6cfef54f4cf0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_54ec7dbf-63d2-41e1-91c0-5d844b5dea09" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_14d6cf35-c7b5-4e83-80de-6cfef54f4cf0" xlink:to="loc_us-gaap_SegmentDomain_54ec7dbf-63d2-41e1-91c0-5d844b5dea09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_RenewableEnergyandConservationMember_ce49e230-e01e-4088-b08f-08c734b69c53" xlink:href="rock-20200630.xsd#rock_RenewableEnergyandConservationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_54ec7dbf-63d2-41e1-91c0-5d844b5dea09" xlink:to="loc_rock_RenewableEnergyandConservationMember_ce49e230-e01e-4088-b08f-08c734b69c53" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ResidentialProductsMember_bcb22fad-69d5-4d74-a4a7-60a6cd4b7473" xlink:href="rock-20200630.xsd#rock_ResidentialProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_54ec7dbf-63d2-41e1-91c0-5d844b5dea09" xlink:to="loc_rock_ResidentialProductsMember_bcb22fad-69d5-4d74-a4a7-60a6cd4b7473" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_IndustrialAndInfrastructureProductsMember_63bb6dd9-03cf-4e9d-a318-d41056a484c6" xlink:href="rock-20200630.xsd#rock_IndustrialAndInfrastructureProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_54ec7dbf-63d2-41e1-91c0-5d844b5dea09" xlink:to="loc_rock_IndustrialAndInfrastructureProductsMember_63bb6dd9-03cf-4e9d-a318-d41056a484c6" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsDetails" xlink:type="extended" id="i904d05806b4643d38ed46584beea5406_ExitActivityCostsandAssetImpairmentsSummaryofExitActivityCostsandAssetImpairmentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_3e10faa3-35ee-4c7a-aaee-e79d666accfb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_0b674af5-f28e-4b1a-8dab-1e57fcf3dda9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3e10faa3-35ee-4c7a-aaee-e79d666accfb" xlink:to="loc_us-gaap_RestructuringCharges_0b674af5-f28e-4b1a-8dab-1e57fcf3dda9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessExitCosts1_0638783f-086c-4a35-aa82-cd83370ce8a5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessExitCosts1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3e10faa3-35ee-4c7a-aaee-e79d666accfb" xlink:to="loc_us-gaap_BusinessExitCosts1_0638783f-086c-4a35-aa82-cd83370ce8a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_c75fa863-d1d2-40a2-abd4-80d2416dcf4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3e10faa3-35ee-4c7a-aaee-e79d666accfb" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_c75fa863-d1d2-40a2-abd4-80d2416dcf4a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_dd5ce2a4-a657-4387-a935-9b2759a2dd99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_c75fa863-d1d2-40a2-abd4-80d2416dcf4a" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_dd5ce2a4-a657-4387-a935-9b2759a2dd99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_dd5ce2a4-a657-4387-a935-9b2759a2dd99_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_dd5ce2a4-a657-4387-a935-9b2759a2dd99" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_dd5ce2a4-a657-4387-a935-9b2759a2dd99_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_f4745884-0059-4f6b-8446-c35d5345de3e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_dd5ce2a4-a657-4387-a935-9b2759a2dd99" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_f4745884-0059-4f6b-8446-c35d5345de3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_04cd7581-548f-4927-b4de-b3cb45ba73cd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_f4745884-0059-4f6b-8446-c35d5345de3e" xlink:to="loc_us-gaap_CostOfSalesMember_04cd7581-548f-4927-b4de-b3cb45ba73cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_SellingGeneralAndAdministrativeExpenseMember_cfd62565-ba92-4f14-83a8-9544c9697da2" xlink:href="rock-20200630.xsd#rock_SellingGeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_f4745884-0059-4f6b-8446-c35d5345de3e" xlink:to="loc_rock_SellingGeneralAndAdministrativeExpenseMember_cfd62565-ba92-4f14-83a8-9544c9697da2" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsReconcilesofLiabilityforExitActivityCostsRelatingtoFacilityConsolidationEffortsDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#ExitActivityCostsandAssetImpairmentsReconcilesofLiabilityforExitActivityCostsRelatingtoFacilityConsolidationEffortsDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/ExitActivityCostsandAssetImpairmentsReconcilesofLiabilityforExitActivityCostsRelatingtoFacilityConsolidationEffortsDetails" xlink:type="extended" id="if6aad6f9e0e64df19d64aa46aa2c3169_ExitActivityCostsandAssetImpairmentsReconcilesofLiabilityforExitActivityCostsRelatingtoFacilityConsolidationEffortsDetails"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/IncomeTaxes" xlink:type="simple" xlink:href="rock-20200630.xsd#IncomeTaxes"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/IncomeTaxes" xlink:type="extended" id="i88f3281bc29a4e58984c1b9ad895d387_IncomeTaxes"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="rock-20200630.xsd#IncomeTaxesTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/IncomeTaxesTables" xlink:type="extended" id="iadc3fdf92bf04d2ea678bd03165287fa_IncomeTaxesTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/IncomeTaxesProvisionForIncomeTaxesForContinuingOperationsDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#IncomeTaxesProvisionForIncomeTaxesForContinuingOperationsDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/IncomeTaxesProvisionForIncomeTaxesForContinuingOperationsDetails" xlink:type="extended" id="ib27d7a326bf34795860486c8c99e4e6d_IncomeTaxesProvisionForIncomeTaxesForContinuingOperationsDetails"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EarningsperShare" xlink:type="simple" xlink:href="rock-20200630.xsd#EarningsperShare"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EarningsperShare" xlink:type="extended" id="i99f4a1c5b8bf47e9b9e76e89e11d453e_EarningsperShare"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EarningsperShareTables" xlink:type="simple" xlink:href="rock-20200630.xsd#EarningsperShareTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EarningsperShareTables" xlink:type="extended" id="i4138d6e015ef4243884fa02066a83fd4_EarningsperShareTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/EarningsperShareDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#EarningsperShareDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/EarningsperShareDetails" xlink:type="extended" id="i2f109ac5b6be4bd8a3188d19b3d5e577_EarningsperShareDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b2a1677d-26c9-4d42-9723-93bd9f42de0a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:to="loc_us-gaap_NetIncomeLoss_b2a1677d-26c9-4d42-9723-93bd9f42de0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0457509d-b161-4a0b-8fd8-2a6083aab84d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0457509d-b161-4a0b-8fd8-2a6083aab84d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_00865339-7690-4a55-8b24-a761a781c9ee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_00865339-7690-4a55-8b24-a761a781c9ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae4096f1-ea50-48a7-a522-2ca626b0f68f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ae4096f1-ea50-48a7-a522-2ca626b0f68f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_f3266d93-0a1e-43c1-856c-fe2aee75d4f4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_f3266d93-0a1e-43c1-856c-fe2aee75d4f4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_fab06965-6fd6-4354-8429-3e0d2f2e3bef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_f83c65fb-3025-4e38-b4d4-9d8e6dc129d8" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_fab06965-6fd6-4354-8429-3e0d2f2e3bef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_b0e440b8-e958-40c0-8f76-59a344495f88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_fab06965-6fd6-4354-8429-3e0d2f2e3bef" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_b0e440b8-e958-40c0-8f76-59a344495f88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_b0e440b8-e958-40c0-8f76-59a344495f88_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_b0e440b8-e958-40c0-8f76-59a344495f88" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_b0e440b8-e958-40c0-8f76-59a344495f88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_544e0e27-fc8f-4bfa-a388-e085e5dbe4b9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_b0e440b8-e958-40c0-8f76-59a344495f88" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_544e0e27-fc8f-4bfa-a388-e085e5dbe4b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_64eec518-900c-47f8-9098-ea4e0ba5c94e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_544e0e27-fc8f-4bfa-a388-e085e5dbe4b9" xlink:to="loc_us-gaap_CommonStockMember_64eec518-900c-47f8-9098-ea4e0ba5c94e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/SegmentInformation" xlink:type="simple" xlink:href="rock-20200630.xsd#SegmentInformation"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/SegmentInformation" xlink:type="extended" id="i79f270d64dc0448ca3ccbe339c03008d_SegmentInformation"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/SegmentInformationTables" xlink:type="simple" xlink:href="rock-20200630.xsd#SegmentInformationTables"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/SegmentInformationTables" xlink:type="extended" id="iad67967123824aa39c4f9689d7f42aa4_SegmentInformationTables"/>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/SegmentInformationDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#SegmentInformationDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/SegmentInformationDetails" xlink:type="extended" id="ie5d1f0e90ca341c4b5719d6a39286d09_SegmentInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_880e3e1c-6723-4d29-868a-db96546c1151" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_56001c78-bfc6-4287-800b-fd8c6f30970f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_880e3e1c-6723-4d29-868a-db96546c1151" xlink:to="loc_us-gaap_NumberOfReportableSegments_56001c78-bfc6-4287-800b-fd8c6f30970f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_556afb18-d3bd-4cd6-97ac-53273df942a2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_880e3e1c-6723-4d29-868a-db96546c1151" xlink:to="loc_us-gaap_Revenues_556afb18-d3bd-4cd6-97ac-53273df942a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_859bc256-6a2f-45e7-91d9-d47e490f4ade" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_880e3e1c-6723-4d29-868a-db96546c1151" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_859bc256-6a2f-45e7-91d9-d47e490f4ade" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_a03f0799-eda4-4053-b37a-5b537985296c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_880e3e1c-6723-4d29-868a-db96546c1151" xlink:to="loc_us-gaap_OperatingIncomeLoss_a03f0799-eda4-4053-b37a-5b537985296c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_54ee65fd-6ab2-4cd5-ba7c-78854e6e005d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems_880e3e1c-6723-4d29-868a-db96546c1151" xlink:to="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_54ee65fd-6ab2-4cd5-ba7c-78854e6e005d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_d05785f6-d97d-40e8-bb35-34ca5938de79" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_54ee65fd-6ab2-4cd5-ba7c-78854e6e005d" xlink:to="loc_srt_ConsolidationItemsAxis_d05785f6-d97d-40e8-bb35-34ca5938de79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_d05785f6-d97d-40e8-bb35-34ca5938de79_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_d05785f6-d97d-40e8-bb35-34ca5938de79" xlink:to="loc_srt_ConsolidationItemsDomain_d05785f6-d97d-40e8-bb35-34ca5938de79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_d28d4c47-75d9-4070-83a4-a8c52916b3b1" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_d05785f6-d97d-40e8-bb35-34ca5938de79" xlink:to="loc_srt_ConsolidationItemsDomain_d28d4c47-75d9-4070-83a4-a8c52916b3b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_8556bbf5-7e6c-4546-a634-7b4670f0f9b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_d28d4c47-75d9-4070-83a4-a8c52916b3b1" xlink:to="loc_us-gaap_OperatingSegmentsMember_8556bbf5-7e6c-4546-a634-7b4670f0f9b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_22521a53-bf10-4adf-afe6-de579ab772e6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_d28d4c47-75d9-4070-83a4-a8c52916b3b1" xlink:to="loc_us-gaap_IntersegmentEliminationMember_22521a53-bf10-4adf-afe6-de579ab772e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_db85c10a-4b72-4451-9c97-d6c6214db606" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_d28d4c47-75d9-4070-83a4-a8c52916b3b1" xlink:to="loc_us-gaap_CorporateNonSegmentMember_db85c10a-4b72-4451-9c97-d6c6214db606" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3d3aec84-0fa3-4701-a822-8b415a0747f8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable_54ee65fd-6ab2-4cd5-ba7c-78854e6e005d" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3d3aec84-0fa3-4701-a822-8b415a0747f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_3d3aec84-0fa3-4701-a822-8b415a0747f8_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3d3aec84-0fa3-4701-a822-8b415a0747f8" xlink:to="loc_us-gaap_SegmentDomain_3d3aec84-0fa3-4701-a822-8b415a0747f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_2754ef32-c75b-4983-8af5-991dd5d78033" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3d3aec84-0fa3-4701-a822-8b415a0747f8" xlink:to="loc_us-gaap_SegmentDomain_2754ef32-c75b-4983-8af5-991dd5d78033" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_RenewableEnergyandConservationMember_6e1637f6-7f03-403d-a0f2-5295d1decf6a" xlink:href="rock-20200630.xsd#rock_RenewableEnergyandConservationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_2754ef32-c75b-4983-8af5-991dd5d78033" xlink:to="loc_rock_RenewableEnergyandConservationMember_6e1637f6-7f03-403d-a0f2-5295d1decf6a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ResidentialProductsMember_6142adf2-052a-40f4-9336-5bfcd46f36f5" xlink:href="rock-20200630.xsd#rock_ResidentialProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_2754ef32-c75b-4983-8af5-991dd5d78033" xlink:to="loc_rock_ResidentialProductsMember_6142adf2-052a-40f4-9336-5bfcd46f36f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_IndustrialAndInfrastructureProductsMember_38eca188-b520-411b-b795-34cb825958d6" xlink:href="rock-20200630.xsd#rock_IndustrialAndInfrastructureProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_2754ef32-c75b-4983-8af5-991dd5d78033" xlink:to="loc_rock_IndustrialAndInfrastructureProductsMember_38eca188-b520-411b-b795-34cb825958d6" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.gibraltar1.com/role/SegmentInformationDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="rock-20200630.xsd#SegmentInformationDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.gibraltar1.com/role/SegmentInformationDisaggregationofRevenueDetails" xlink:type="extended" id="i7dc13c304cdd4a94855583c14479c82c_SegmentInformationDisaggregationofRevenueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_10f90aa5-0c43-462d-9bcc-2b2e23658be1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_1539bd52-a39c-40e1-be98-aea237b6eeac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_10f90aa5-0c43-462d-9bcc-2b2e23658be1" xlink:to="loc_us-gaap_Revenues_1539bd52-a39c-40e1-be98-aea237b6eeac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_84fea248-b61a-40bb-a358-b92832f7d1f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_10f90aa5-0c43-462d-9bcc-2b2e23658be1" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_84fea248-b61a-40bb-a358-b92832f7d1f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_2d64a58c-bd97-4a32-8ad3-537ef451c1c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_84fea248-b61a-40bb-a358-b92832f7d1f5" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_2d64a58c-bd97-4a32-8ad3-537ef451c1c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2d64a58c-bd97-4a32-8ad3-537ef451c1c7_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_2d64a58c-bd97-4a32-8ad3-537ef451c1c7" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2d64a58c-bd97-4a32-8ad3-537ef451c1c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_9cf361bd-7084-4fc4-a52d-9cdc691802c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_2d64a58c-bd97-4a32-8ad3-537ef451c1c7" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_9cf361bd-7084-4fc4-a52d-9cdc691802c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_f48b88da-54a8-4be4-800d-ee3e4e0d93a9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_9cf361bd-7084-4fc4-a52d-9cdc691802c7" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_f48b88da-54a8-4be4-800d-ee3e4e0d93a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredOverTimeMember_010d7fd1-5ee9-4d63-a624-d6eaf8e2ec59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransferredOverTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_9cf361bd-7084-4fc4-a52d-9cdc691802c7" xlink:to="loc_us-gaap_TransferredOverTimeMember_010d7fd1-5ee9-4d63-a624-d6eaf8e2ec59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_c6663775-d874-4f6d-831f-f538225ab5ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_84fea248-b61a-40bb-a358-b92832f7d1f5" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_c6663775-d874-4f6d-831f-f538225ab5ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c6663775-d874-4f6d-831f-f538225ab5ac_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_c6663775-d874-4f6d-831f-f538225ab5ac" xlink:to="loc_us-gaap_SegmentDomain_c6663775-d874-4f6d-831f-f538225ab5ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_e8aee429-ccfd-4b5f-8f89-3e1bdf614054" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_c6663775-d874-4f6d-831f-f538225ab5ac" xlink:to="loc_us-gaap_SegmentDomain_e8aee429-ccfd-4b5f-8f89-3e1bdf614054" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_RenewableEnergyandConservationMember_3b4793ed-4471-4ae6-a4bd-609f6b5eb957" xlink:href="rock-20200630.xsd#rock_RenewableEnergyandConservationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e8aee429-ccfd-4b5f-8f89-3e1bdf614054" xlink:to="loc_rock_RenewableEnergyandConservationMember_3b4793ed-4471-4ae6-a4bd-609f6b5eb957" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_ResidentialProductsMember_ce129a1e-8252-4c1d-8c15-4aad17c292f3" xlink:href="rock-20200630.xsd#rock_ResidentialProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e8aee429-ccfd-4b5f-8f89-3e1bdf614054" xlink:to="loc_rock_ResidentialProductsMember_ce129a1e-8252-4c1d-8c15-4aad17c292f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rock_IndustrialAndInfrastructureProductsMember_0240a1fb-124b-4573-ac44-38b48c6bb911" xlink:href="rock-20200630.xsd#rock_IndustrialAndInfrastructureProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e8aee429-ccfd-4b5f-8f89-3e1bdf614054" xlink:to="loc_rock_IndustrialAndInfrastructureProductsMember_0240a1fb-124b-4573-ac44-38b48c6bb911" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
