<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>187</ContextCount>
  <ElementCount>502</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>58</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ConsolidatedComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Consolidated Statements of Changes in Shareholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders??? Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Statement - Consolidated Statements of Changes in Shareholders??? Equity (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ShareholdersEquityType2or3_Parentheticals</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders??? Equity (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - General</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/General</Role>
      <ShortName>General</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Business Combination, Significant Transaction and Sale of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusiness</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/MarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Other Accounts Receivable and Prepaid Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/OtherAccountsReceivableandPrepaidExpenses</Role>
      <ShortName>Other Accounts Receivable and Prepaid Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Property and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/PropertyandEquipmentNet</Role>
      <ShortName>Property and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/Goodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Short Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ShortTermDebt</Role>
      <ShortName>Short Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Accrued Expenses and Other Accounts Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/AccruedExpensesandOtherAccountsPayable</Role>
      <ShortName>Accrued Expenses and Other Accounts Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Long Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/LongTermDebt</Role>
      <ShortName>Long Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Taxes on Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/TaxesonIncome</Role>
      <ShortName>Taxes on Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - Related Parties Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/RelatedPartiesTransactions</Role>
      <ShortName>Related Parties Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - Net Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/NetEarningsPerShare</Role>
      <ShortName>Net Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - Segment Geographical Information and Major Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomers</Role>
      <ShortName>Segment Geographical Information and Major Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - Selected Statements of Income Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SelectedStatementsofIncomeData</Role>
      <ShortName>Selected Statements of Income Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - Disclosure - Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SignificantAccountingPoliciesTables</Role>
      <ShortName>Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusiness</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - Disclosure - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/MarketableSecuritiesTables</Role>
      <ShortName>Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/MarketableSecurities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/FairValueMeasurements</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - Disclosure - Other Accounts Receivable and Prepaid Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/OtherAccountsReceivableandPrepaidExpensesTables</Role>
      <ShortName>Other Accounts Receivable and Prepaid Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/OtherAccountsReceivableandPrepaidExpenses</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - Property and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/PropertyandEquipmentNetTables</Role>
      <ShortName>Property and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/PropertyandEquipmentNet</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/IntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/IntangibleAssetsNet</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/GoodwillTables</Role>
      <ShortName>Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/Goodwill</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - Short Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ShortTermDebtTables</Role>
      <ShortName>Short Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/ShortTermDebt</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - Disclosure - Accrued Expenses and Other Accounts Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/AccruedExpensesandOtherAccountsPayableTables</Role>
      <ShortName>Accrued Expenses and Other Accounts Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/AccruedExpensesandOtherAccountsPayable</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - Disclosure - Long Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/LongTermDebtTables</Role>
      <ShortName>Long Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/LongTermDebt</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - Disclosure - Taxes on Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/TaxesonIncomeTables</Role>
      <ShortName>Taxes on Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncome</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>043 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/Equity</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>044 - Disclosure - Net Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/NetEarningsPerShareTables</Role>
      <ShortName>Net Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/NetEarningsPerShare</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>045 - Disclosure - Segment Geographical Information and Major Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomersTables</Role>
      <ShortName>Segment Geographical Information and Major Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomers</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>046 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/RevenueRecognition</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>047 - Disclosure - Selected Statements of Income Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SelectedStatementsofIncomeDataTables</Role>
      <ShortName>Selected Statements of Income Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SelectedStatementsofIncomeData</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>048 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/Leases</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>049 - Disclosure - Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SignificantAccountingPoliciesDetails</Role>
      <ShortName>Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SignificantAccountingPoliciesTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>050 - Disclosure - Significant Accounting Policies (Details) - Schedule of reconciliation of the redeemable non-controlling interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofreconciliationoftheredeemablenoncontrollinginterestsTable</Role>
      <ShortName>Significant Accounting Policies (Details) - Schedule of reconciliation of the redeemable non-controlling interests</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SignificantAccountingPoliciesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>051 - Disclosure - Significant Accounting Policies (Details) - Schedule of property and equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofpropertyandequipmentnetTable</Role>
      <ShortName>Significant Accounting Policies (Details) - Schedule of property and equipment, net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SignificantAccountingPoliciesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>052 - Disclosure - Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofstockbasedcompensationexpenserelatedtoemployeestockoptionsTable</Role>
      <ShortName>Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SignificantAccountingPoliciesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>053 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessDetails</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>054 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfairvaluesoftheassetsacquiredandliabilitiesTable</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>055 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfairvaluesoftheassetsacquiredandliabilitiesTable0</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>056 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfairvaluesoftheassetsacquiredandliabilitiesTable00</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>057 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfairvaluesoftheassetsacquiredandliabilitiesTable000</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>058 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfairvaluesoftheassetsacquiredandliabilitiesTable0000</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>059 - Disclosure - Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfairvaluesoftheassetsacquiredandliabilitiesTable00000</Role>
      <ShortName>Business Combination, Significant Transaction and Sale of Business (Details) - Schedule of estimated fair values of the assets acquired and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/BusinessCombinationSignificantTransactionandSaleofBusinessTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>060 - Disclosure - Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/MarketableSecuritiesDetails</Role>
      <ShortName>Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/MarketableSecuritiesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>061 - Disclosure - Marketable Securities (Details) - Summary of marketable securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SummaryofmarketablesecuritiesTable</Role>
      <ShortName>Marketable Securities (Details) - Summary of marketable securities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/MarketableSecuritiesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>062 - Disclosure - Marketable Securities (Details) - Schedule of changes in other comprehensive income of available for sale securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofchangesinothercomprehensiveincomeofavailableforsalesecuritiesTable</Role>
      <ShortName>Marketable Securities (Details) - Schedule of changes in other comprehensive income of available for sale securities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/MarketableSecuritiesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>063 - Disclosure - Fair Value Measurements (Details) - Schedule of financial assets measured at fair value on a recurring basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoffinancialassetsmeasuredatfairvalueonarecurringbasisTable</Role>
      <ShortName>Fair Value Measurements (Details) - Schedule of financial assets measured at fair value on a recurring basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>064 - Disclosure - Fair Value Measurements (Details) - Schedule of fair value measurements using significant unobservable inputs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoffairvaluemeasurementsusingsignificantunobservableinputsTable</Role>
      <ShortName>Fair Value Measurements (Details) - Schedule of fair value measurements using significant unobservable inputs</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>065 - Disclosure - Other Accounts Receivable and Prepaid Expenses (Details) - Schedule of other accounts receivable and prepaid expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofotheraccountsreceivableandprepaidexpensesTable</Role>
      <ShortName>Other Accounts Receivable and Prepaid Expenses (Details) - Schedule of other accounts receivable and prepaid expenses</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/OtherAccountsReceivableandPrepaidExpensesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>066 - Disclosure - Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/PropertyandEquipmentNetDetails</Role>
      <ShortName>Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/PropertyandEquipmentNetTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>067 - Disclosure - Property and Equipment, Net (Details) - Schedule of property and equipment net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofpropertyandequipmentnetTable0</Role>
      <ShortName>Property and Equipment, Net (Details) - Schedule of property and equipment net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/PropertyandEquipmentNetTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>068 - Disclosure - Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/IntangibleAssetsNetDetails</Role>
      <ShortName>Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>069 - Disclosure - Intangible Assets, Net (Details) - Schedule of intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofintangibleassetsTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of intangible assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>070 - Disclosure - Intangible Assets, Net (Details) - Schedule of estimated future amortization expense of intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedfutureamortizationexpenseofintangibleassetsTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of estimated future amortization expense of intangible assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>071 - Disclosure - Goodwill (Details) - Summary of changes in the carrying amount of goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SummaryofchangesinthecarryingamountofgoodwillTable</Role>
      <ShortName>Goodwill (Details) - Summary of changes in the carrying amount of goodwill</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/GoodwillTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>072 - Disclosure - Short Term Debt (Details) - Schedule of short term debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofshorttermdebtTable</Role>
      <ShortName>Short Term Debt (Details) - Schedule of short term debt</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/ShortTermDebtTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>073 - Disclosure - Accrued Expenses and Other Accounts Payable (Details) - Schedule of accrued expenses and other accounts payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofaccruedexpensesandotheraccountspayableTable</Role>
      <ShortName>Accrued Expenses and Other Accounts Payable (Details) - Schedule of accrued expenses and other accounts payable</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/AccruedExpensesandOtherAccountsPayableTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>074 - Disclosure - Long Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/LongTermDebtDetails</Role>
      <ShortName>Long Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/LongTermDebtTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>075 - Disclosure - Long Term Debt (Details) - Schedule of long term debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoflongtermdebtTable</Role>
      <ShortName>Long Term Debt (Details) - Schedule of long term debt</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/LongTermDebtTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>076 - Disclosure - Taxes on Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/TaxesonIncomeDetails</Role>
      <ShortName>Taxes on Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>077 - Disclosure - Taxes on Income (Details) - Schedule of income before taxes on income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofincomebeforetaxesonincomeTable</Role>
      <ShortName>Taxes on Income (Details) - Schedule of income before taxes on income</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>078 - Disclosure - Taxes on Income (Details) - Schedule of taxes on income (tax benefit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoftaxesonincometaxbenefitTable</Role>
      <ShortName>Taxes on Income (Details) - Schedule of taxes on income (tax benefit)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>079 - Disclosure - Taxes on Income (Details) - Schedule of deferred tax assets and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofdeferredtaxassetsandliabilitiesTable</Role>
      <ShortName>Taxes on Income (Details) - Schedule of deferred tax assets and liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>080 - Disclosure - Taxes on Income (Details) - Schedule of deferred tax liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofdeferredtaxliabilitiesTable</Role>
      <ShortName>Taxes on Income (Details) - Schedule of deferred tax liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>081 - Disclosure - Taxes on Income (Details) - Schedule of effective income tax rate reconciliation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofeffectiveincometaxratereconciliationTable</Role>
      <ShortName>Taxes on Income (Details) - Schedule of effective income tax rate reconciliation</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>082 - Disclosure - Taxes on Income (Details) - Schedule of unrecognized tax benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofunrecognizedtaxbenefitsTable</Role>
      <ShortName>Taxes on Income (Details) - Schedule of unrecognized tax benefits</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/TaxesonIncomeTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>083 - Disclosure - Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/EquityDetails</Role>
      <ShortName>Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/EquityTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>084 - Disclosure - Equity (Details) - Schedule of employee option activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofemployeeoptionactivityTable</Role>
      <ShortName>Equity (Details) - Schedule of employee option activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/EquityTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>085 - Disclosure - Equity (Details) - Schedule of options outstanding</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofoptionsoutstandingTable</Role>
      <ShortName>Equity (Details) - Schedule of options outstanding</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/EquityTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>086 - Disclosure - Equity (Details) - Schedule of accumulated other comprehensive income (loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofaccumulatedothercomprehensiveincomelossTable</Role>
      <ShortName>Equity (Details) - Schedule of accumulated other comprehensive income (loss)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/EquityTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>087 - Disclosure - Related Parties Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/RelatedPartiesTransactionsDetails</Role>
      <ShortName>Related Parties Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/RelatedPartiesTransactions</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>088 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/CommitmentsandContingencies</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>089 - Disclosure - Net Earnings Per Share (Details) - Schedule of computation of basic and diluted net earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofcomputationofbasicanddilutednetearningspershareTable</Role>
      <ShortName>Net Earnings Per Share (Details) - Schedule of computation of basic and diluted net earnings per share</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/NetEarningsPerShareTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>090 - Disclosure - Segment Geographical Information and Major Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomersDetails</Role>
      <ShortName>Segment Geographical Information and Major Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomersTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>091 - Disclosure - Segment Geographical Information and Major Customers (Details) - Schedule of reported segment results of operation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofreportedsegmentresultsofoperationTable</Role>
      <ShortName>Segment Geographical Information and Major Customers (Details) - Schedule of reported segment results of operation</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomersTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>092 - Disclosure - Segment Geographical Information and Major Customers (Details) - Schedule of total revenues classified according to geographical destination</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoftotalrevenuesclassifiedaccordingtogeographicaldestinationTable</Role>
      <ShortName>Segment Geographical Information and Major Customers (Details) - Schedule of total revenues classified according to geographical destination</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomersTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>093 - Disclosure - Segment Geographical Information and Major Customers (Details) - Schedule of long-lived assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoflonglivedassetsTable</Role>
      <ShortName>Segment Geographical Information and Major Customers (Details) - Schedule of long-lived assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SegmentGeographicalInformationandMajorCustomersTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>094 - Disclosure - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/RevenueRecognitionDetails</Role>
      <ShortName>Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>095 - Disclosure - Revenue Recognition (Details) - Schedule of estimated revenue expected to be recognized in future periods related to performance obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofestimatedrevenueexpectedtoberecognizedinfutureperiodsrelatedtoperformanceobligationsTable</Role>
      <ShortName>Revenue Recognition (Details) - Schedule of estimated revenue expected to be recognized in future periods related to performance obligations</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>096 - Disclosure - Revenue Recognition (Details) - Schedule of trade receivables, contract assets (unbilled receivables) and contract liabilities (deferred revenues) from contracts with customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoftradereceivablescontractassetsunbilledreceivablesandcontractliabilitiesdeferredrevenuesfromcontractswithcustomersTable</Role>
      <ShortName>Revenue Recognition (Details) - Schedule of trade receivables, contract assets (unbilled receivables) and contract liabilities (deferred revenues) from contracts with customers</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>097 - Disclosure - Selected Statements of Income Data (Details) - Schedule of research and development costs, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofresearchanddevelopmentcostsnetTable</Role>
      <ShortName>Selected Statements of Income Data (Details) - Schedule of research and development costs, net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>098 - Disclosure - Selected Statements of Income Data (Details) - Schedule of financial income (expenses), net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleoffinancialincomeexpensesnetTable</Role>
      <ShortName>Selected Statements of Income Data (Details) - Schedule of financial income (expenses), net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>099 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>100 - Disclosure - Leases (Details) - Schedule of weighted average remaining lease terms and discount rates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofweightedaverageremainingleasetermsanddiscountratesTable</Role>
      <ShortName>Leases (Details) - Schedule of weighted average remaining lease terms and discount rates</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>101 - Disclosure - Leases (Details) - Schedule of maturities of lease liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/ScheduleofmaturitiesofleaseliabilitiesTable</Role>
      <ShortName>Leases (Details) - Schedule of maturities of lease liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="f20f2020_magicsoftware.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>102 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://magicsoftware.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://magicsoftware.com/role/SubsequentEvents</ParentRole>
      <Position>103</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="20-F" original="f20f2020_magicsoftware.htm">f20f2020_magicsoftware.htm</File>
    <File>f20f2020ex12-1_magicsoft.htm</File>
    <File>f20f2020ex12-2_magicsoft.htm</File>
    <File>f20f2020ex13-1_magicsoft.htm</File>
    <File>f20f2020ex13-2_magicsoft.htm</File>
    <File>f20f2020ex15-1_magicsoft.htm</File>
    <File>f20f2020ex15-2_magicsoft.htm</File>
    <File>f20f2020ex8-1_magicsoft.htm</File>
    <File>mgic-20201231.xsd</File>
    <File>mgic-20201231_cal.xml</File>
    <File>mgic-20201231_def.xml</File>
    <File>mgic-20201231_lab.xml</File>
    <File>mgic-20201231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img_001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
