<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1.1.u2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>384</ContextCount>
  <ElementCount>501</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>99</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Consolidated Statements of Financial Position</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Statements of Financial Position</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Consolidated Statements of Financial Position (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Consolidated Statements of Financial Position (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Consolidated Statements of Profit or Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Consolidated Statements of Profit or Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Consolidated Statements of Profit or Loss (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ConsolidatedIncomeStatement_Parentheticals</Role>
      <ShortName>Consolidated Statements of Profit or Loss (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ConsolidatedComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Statement - Consolidated Statements of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Consolidated Statements of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.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://www.magicsoftware.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - General</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/General</Role>
      <ShortName>General</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Material Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/MaterialAccountingPolicies</Role>
      <ShortName>Material Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/CashandCashEquivalents</Role>
      <ShortName>Cash and Cash Equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Other Accounts Receivable And Prepaid Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/OtherAccountsReceivableAndPrepaidExpenses</Role>
      <ShortName>Other Accounts Receivable And Prepaid Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/FairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Property, Plants and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/PropertyPlantsandEquipmentNet</Role>
      <ShortName>Property, Plants and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/Goodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Short Term Debts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ShortTermDebts</Role>
      <ShortName>Short Term Debts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.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://www.magicsoftware.com/role/AccruedExpensesandOtherAccountsPayable</Role>
      <ShortName>Accrued Expenses and Other Accounts Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Long Term Debts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/LongTermDebts</Role>
      <ShortName>Long Term Debts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Related Parties Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/RelatedPartiesTransactions</Role>
      <ShortName>Related Parties Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - Share Based Payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ShareBasedPayments</Role>
      <ShortName>Share Based Payments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Employee Benefit Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/EmployeeBenefitLiabilities</Role>
      <ShortName>Employee Benefit Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - Income Tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/IncomeTax</Role>
      <ShortName>Income Tax</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - Selected Statements of Income Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/SelectedStatementsofIncomeData</Role>
      <ShortName>Selected Statements of Income Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - Operating Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/OperatingSegments</Role>
      <ShortName>Operating Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>996000 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/MaterialAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996001 - Disclosure - Material Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/MaterialAccountingPoliciesTables</Role>
      <ShortName>Material Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/MaterialAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996002 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinations</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996003 - Disclosure - Cash and Cash Equivalents (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/CashandCashEquivalentsTables</Role>
      <ShortName>Cash and Cash Equivalents (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/CashandCashEquivalents</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996004 - Disclosure - Other Accounts Receivable And Prepaid Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/OtherAccountsReceivableAndPrepaidExpensesTables</Role>
      <ShortName>Other Accounts Receivable And Prepaid Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/OtherAccountsReceivableAndPrepaidExpenses</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/FairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/FairValueMeasurement</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996006 - Disclosure - Property, Plants and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/PropertyPlantsandEquipmentNetTables</Role>
      <ShortName>Property, Plants and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/PropertyPlantsandEquipmentNet</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/IntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IntangibleAssetsNet</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996008 - Disclosure - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/GoodwillTables</Role>
      <ShortName>Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/Goodwill</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996009 - Disclosure - Short Term Debts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ShortTermDebtsTables</Role>
      <ShortName>Short Term Debts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShortTermDebts</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996010 - Disclosure - Accrued Expenses and Other Accounts Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/AccruedExpensesandOtherAccountsPayableTables</Role>
      <ShortName>Accrued Expenses and Other Accounts Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/AccruedExpensesandOtherAccountsPayable</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996011 - Disclosure - Long Term Debts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/LongTermDebtsTables</Role>
      <ShortName>Long Term Debts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LongTermDebts</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996012 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/Leases</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996013 - Disclosure - Share Based Payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ShareBasedPaymentsTables</Role>
      <ShortName>Share Based Payments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShareBasedPayments</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996014 - Disclosure - Employee Benefit Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/EmployeeBenefitLiabilitiesTables</Role>
      <ShortName>Employee Benefit Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/EmployeeBenefitLiabilities</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/Equity</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996016 - Disclosure - Income Tax (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/IncomeTaxTables</Role>
      <ShortName>Income Tax (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IncomeTax</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RevenueRecognition</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996018 - Disclosure - Selected Statements of Income Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/SelectedStatementsofIncomeDataTables</Role>
      <ShortName>Selected Statements of Income Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/SelectedStatementsofIncomeData</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996019 - Disclosure - Operating Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/OperatingSegmentsTables</Role>
      <ShortName>Operating Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/OperatingSegments</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996020 - Disclosure - Material Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/MaterialAccountingPoliciesDetails</Role>
      <ShortName>Material Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/MaterialAccountingPoliciesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996021 - Disclosure - Material Accounting Policies (Details) - Schedule of Right-of-Use Assets by Class of Underlying Asset</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofRightofUseAssetsbyClassofUnderlyingAssetTable</Role>
      <ShortName>Material Accounting Policies (Details) - Schedule of Right-of-Use Assets by Class of Underlying Asset</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/MaterialAccountingPoliciesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996022 - Disclosure - Material Accounting Policies (Details) - Schedule of Estimated Useful Life of the Assets at Annual Rates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedUsefulLifeoftheAssetsatAnnualRatesTable</Role>
      <ShortName>Material Accounting Policies (Details) - Schedule of Estimated Useful Life of the Assets at Annual Rates</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/MaterialAccountingPoliciesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996023 - Disclosure - Material Accounting Policies (Details) - Schedule of Useful Life of Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofUsefulLifeofIntangibleAssetsTable</Role>
      <ShortName>Material Accounting Policies (Details) - Schedule of Useful Life of Intangible Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/MaterialAccountingPoliciesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996024 - Disclosure - Business Combinations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/BusinessCombinationsDetails</Role>
      <ShortName>Business Combinations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996026 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable_Parentheticals</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996027 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable0</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996028 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable_Parentheticals0</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996029 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable1</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996030 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable_Parentheticals1</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996031 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable2</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996032 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable_Parentheticals2</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996033 - Disclosure - Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFairValuesoftheAssetsAcquiredandLiabilitiesTable3</Role>
      <ShortName>Business Combinations (Details) - Schedule of Estimated Fair Values of the Assets Acquired and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/BusinessCombinationsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996034 - Disclosure - Cash and Cash Equivalents (Details) - Schedule of Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofCashandCashEquivalentsTable</Role>
      <ShortName>Cash and Cash Equivalents (Details) - Schedule of Cash and Cash Equivalents</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/CashandCashEquivalentsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Other Accounts Receivable And Prepaid Expenses (Details) - Schedule of Other Accounts Receivable And Prepaid Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.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://www.magicsoftware.com/role/OtherAccountsReceivableAndPrepaidExpensesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996036 - Disclosure - Fair Value Measurement (Details) - Schedule of Financial Assets and Liabilities Measured at Fair Value on a Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisTable</Role>
      <ShortName>Fair Value Measurement (Details) - Schedule of Financial Assets and Liabilities Measured at Fair Value on a Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/FairValueMeasurementTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Fair Value Measurement (Details) - Schedule of Liabilities in Respect of the Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofLiabilitiesinRespectoftheBusinessCombinationsTable</Role>
      <ShortName>Fair Value Measurement (Details) - Schedule of Liabilities in Respect of the Business Combinations</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/FairValueMeasurementTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996038 - Disclosure - Fair Value Measurement (Details) - Schedule of Deferred Consideration in Respect of the Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofDeferredConsiderationinRespectoftheBusinessCombinationsTable</Role>
      <ShortName>Fair Value Measurement (Details) - Schedule of Deferred Consideration in Respect of the Business Combinations</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/FairValueMeasurementTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996039 - Disclosure - Fair Value Measurement (Details) - Schedule of Financial Assets and Liabilities in the Consolidated Statements of Financial Position</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofFinancialAssetsandLiabilitiesintheConsolidatedStatementsofFinancialPositionTable</Role>
      <ShortName>Fair Value Measurement (Details) - Schedule of Financial Assets and Liabilities in the Consolidated Statements of Financial Position</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/FairValueMeasurementTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996040 - Disclosure - Property, Plants and Equipment, Net (Details) - Schedule of the Composition and Movement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleoftheCompositionandMovementTable</Role>
      <ShortName>Property, Plants and Equipment, Net (Details) - Schedule of the Composition and Movement</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/PropertyPlantsandEquipmentNetTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996041 - Disclosure - Intangible Assets, Net (Details) - Schedule of Composition and Movement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofCompositionandMovementTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Composition and Movement</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996042 - Disclosure - Intangible Assets, Net (Details) - Schedule of Amortization Expenses Related to Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofAmortizationExpensesRelatedtoIntangibleAssetsTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Amortization Expenses Related to Intangible Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996043 - Disclosure - Intangible Assets, Net (Details) - Schedule of Intangible Assets Composition by Reportable Segment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofIntangibleAssetsCompositionbyReportableSegmentTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Intangible Assets Composition by Reportable Segment</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996044 - Disclosure - Intangible Assets, Net (Details) - Schedule of Estimated Future Amortization of Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEstimatedFutureAmortizationofIntangibleAssetsTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Estimated Future Amortization of Intangible Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IntangibleAssetsNetTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Goodwill (Details) - Schedule of Carrying Amount of Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofCarryingAmountofGoodwillTable</Role>
      <ShortName>Goodwill (Details) - Schedule of Carrying Amount of Goodwill</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/GoodwillTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996046 - Disclosure - Goodwill (Details) - Schedule of Assessment for Goodwill Impairment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofAssessmentforGoodwillImpairmentTable</Role>
      <ShortName>Goodwill (Details) - Schedule of Assessment for Goodwill Impairment</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/GoodwillTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996047 - Disclosure - Short Term Debts (Details) - Schedule of Short Term Debts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofShortTermDebtsTable</Role>
      <ShortName>Short Term Debts (Details) - Schedule of Short Term Debts</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShortTermDebtsTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996048 - Disclosure - Accrued Expenses and Other Accounts Payable (Details) - Schedule of Accrued Expenses and Other Accounts Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.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://www.magicsoftware.com/role/AccruedExpensesandOtherAccountsPayableTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996049 - Disclosure - Long Term Debts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/LongTermDebtsDetails</Role>
      <ShortName>Long Term Debts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LongTermDebtsTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996050 - Disclosure - Long Term Debts (Details) - Schedule of Long Term Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofLongTermLiabilitiesTable</Role>
      <ShortName>Long Term Debts (Details) - Schedule of Long Term Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LongTermDebtsTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996051 - Disclosure - Long Term Debts (Details) - Schedule of Maturity Dates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofMaturityDatesTable</Role>
      <ShortName>Long Term Debts (Details) - Schedule of Maturity Dates</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LongTermDebtsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996052 - Disclosure - Related Parties Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/RelatedPartiesTransactionsDetails</Role>
      <ShortName>Related Parties Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RelatedPartiesTransactions</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996053 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996054 - Disclosure - Leases (Details) - Schedule of Maturity Analysis of Undiscounted Future Lease Payments for Lease Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofMaturityAnalysisofUndiscountedFutureLeasePaymentsforLeaseLiabilitiesTable</Role>
      <ShortName>Leases (Details) - Schedule of Maturity Analysis of Undiscounted Future Lease Payments for Lease Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Leases (Details) - Schedule of Information on leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofInformationonleasesTable</Role>
      <ShortName>Leases (Details) - Schedule of Information on leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996056 - Disclosure - Leases (Details) - Schedule of Weighted Average Remaining Lease Terms</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofWeightedAverageRemainingLeaseTermsTable</Role>
      <ShortName>Leases (Details) - Schedule of Weighted Average Remaining Lease Terms</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996057 - Disclosure - Leases (Details) - Schedule of Right-of-Use Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofRightofUseAssetsTable</Role>
      <ShortName>Leases (Details) - Schedule of Right-of-Use Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/LeasesTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996058 - Disclosure - Share Based Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ShareBasedPaymentsDetails</Role>
      <ShortName>Share Based Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShareBasedPaymentsTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996059 - Disclosure - Share Based Payments (Details) - Schedule of Employee Option Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofEmployeeOptionActivityTable</Role>
      <ShortName>Share Based Payments (Details) - Schedule of Employee Option Activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShareBasedPaymentsTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996060 - Disclosure - Share Based Payments (Details) - Schedule of Options Outstanding</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofOptionsOutstandingTable</Role>
      <ShortName>Share Based Payments (Details) - Schedule of Options Outstanding</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShareBasedPaymentsTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996061 - Disclosure - Share Based Payments (Details) - Schedule of Fair Value of the Options Granted Using the Binomial Model</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofFairValueoftheOptionsGrantedUsingtheBinomialModelTable</Role>
      <ShortName>Share Based Payments (Details) - Schedule of Fair Value of the Options Granted Using the Binomial Model</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShareBasedPaymentsTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996062 - Disclosure - Share Based Payments (Details) - Schedule of Share-Based Payment Expense Related to Employee Stock Option</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofShareBasedPaymentExpenseRelatedtoEmployeeStockOptionTable</Role>
      <ShortName>Share Based Payments (Details) - Schedule of Share-Based Payment Expense Related to Employee Stock Option</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/ShareBasedPaymentsTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996063 - Disclosure - Employee Benefit Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/EmployeeBenefitLiabilitiesDetails</Role>
      <ShortName>Employee Benefit Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/EmployeeBenefitLiabilitiesTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996064 - Disclosure - Employee Benefit Liabilities (Details) - Schedule of Defined Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofDefinedBenefitPlansTable</Role>
      <ShortName>Employee Benefit Liabilities (Details) - Schedule of Defined Benefit Plans</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/EmployeeBenefitLiabilitiesTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/CommitmentsandContingencies</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996066 - Disclosure - Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/EquityDetails</Role>
      <ShortName>Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/EquityTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996067 - Disclosure - Equity (Details) - Schedule of Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofAccumulatedOtherComprehensiveIncomeLossTable</Role>
      <ShortName>Equity (Details) - Schedule of Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/EquityTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>996068 - Disclosure - Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/IncomeTaxDetails</Role>
      <ShortName>Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IncomeTaxTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>996069 - Disclosure - Income Tax (Details) - Schedule of Presentation Net Deferred Tax Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofPresentationNetDeferredTaxAssetsandLiabilitiesTable</Role>
      <ShortName>Income Tax (Details) - Schedule of Presentation Net Deferred Tax Assets and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IncomeTaxTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>996070 - Disclosure - Income Tax (Details) - Schedule of Components of the Company???s Deferred Tax Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofComponentsoftheCompanysDeferredTaxAssetsandLiabilitiesTable</Role>
      <ShortName>Income Tax (Details) - Schedule of Components of the Company???s Deferred Tax Assets and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IncomeTaxTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>996071 - Disclosure - Income Tax (Details) - Schedule of Income Tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofIncomeTaxTable</Role>
      <ShortName>Income Tax (Details) - Schedule of Income Tax</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IncomeTaxTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>996072 - Disclosure - Income Tax (Details) - Schedule of Theoretical Tax Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofTheoreticalTaxExpenseTable</Role>
      <ShortName>Income Tax (Details) - Schedule of Theoretical Tax Expense</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/IncomeTaxTables</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>996073 - Disclosure - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/RevenueRecognitionDetails</Role>
      <ShortName>Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>996074 - Disclosure - Revenue Recognition (Details) - Schedule of Deferred Revenues from Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofDeferredRevenuesfromContractswithCustomersTable</Role>
      <ShortName>Revenue Recognition (Details) - Schedule of Deferred Revenues from Contracts with Customers</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>996075 - Disclosure - Revenue Recognition (Details) - Schedule of Deferred Revenues from Contracts with Customers (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofDeferredRevenuesfromContractswithCustomersTable_Parentheticals</Role>
      <ShortName>Revenue Recognition (Details) - Schedule of Deferred Revenues from Contracts with Customers (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>996076 - Disclosure - Revenue Recognition (Details) - Schedule of Past due but not Impaired Trade Receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofPastduebutnotImpairedTradeReceivablesTable</Role>
      <ShortName>Revenue Recognition (Details) - Schedule of Past due but not Impaired Trade Receivables</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>996077 - Disclosure - Revenue Recognition (Details) - Schedule of Revenue by timing of Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofRevenuebytimingofRevenueRecognitionTable</Role>
      <ShortName>Revenue Recognition (Details) - Schedule of Revenue by timing of Revenue Recognition</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/RevenueRecognitionTables</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>996078 - Disclosure - Selected Statements of Income Data (Details) - Schedule of Research and Development Costs, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.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://www.magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>110</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>996079 - Disclosure - Selected Statements of Income Data (Details) - Schedule of Selling and Marketing Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofSellingandMarketingExpensesTable</Role>
      <ShortName>Selected Statements of Income Data (Details) - Schedule of Selling and Marketing Expenses</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>111</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>996080 - Disclosure - Selected Statements of Income Data (Details) - Schedule of General and Administrative Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofGeneralandAdministrativeExpensesTable</Role>
      <ShortName>Selected Statements of Income Data (Details) - Schedule of General and Administrative Expenses</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>996081 - Disclosure - Selected Statements of Income Data (Details) - Schedule of Financial Income and Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofFinancialIncomeandExpensesTable</Role>
      <ShortName>Selected Statements of Income Data (Details) - Schedule of Financial Income and Expenses</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>996082 - Disclosure - Selected Statements of Income Data (Details) - Schedule of Computation of B asic and Diluted Net Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofComputationofBasicandDilutedNetEarningsPerShareTable</Role>
      <ShortName>Selected Statements of Income Data (Details) - Schedule of Computation of B asic and Diluted Net Earnings Per Share</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/SelectedStatementsofIncomeDataTables</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>996083 - Disclosure - Operating Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/OperatingSegmentsDetails</Role>
      <ShortName>Operating Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/OperatingSegmentsTables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>996084 - Disclosure - Operating Segments (Details) - Schedule of Reported Segment Results of Operation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofReportedSegmentResultsofOperationTable</Role>
      <ShortName>Operating Segments (Details) - Schedule of Reported Segment Results of Operation</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/OperatingSegmentsTables</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>996085 - Disclosure - Operating Segments (Details) - Schedule of Total Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofTotalRevenuesTable</Role>
      <ShortName>Operating Segments (Details) - Schedule of Total Revenues</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/OperatingSegmentsTables</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>996086 - Disclosure - Operating Segments (Details) - Schedule of Long-Lived Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/ScheduleofLongLivedAssetsTable</Role>
      <ShortName>Operating Segments (Details) - Schedule of Long-Lived Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/OperatingSegmentsTables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="ea0205700-20f_magic.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>996087 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.magicsoftware.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.magicsoftware.com/role/SubsequentEvents</ParentRole>
      <Position>119</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 3 fact(s) appearing in ix:hidden were eligible for transformation: ifrs-full:DilutedEarningsLossPerShare -  ea0205700-20f_magic.htm 22531, 22532, 22533</Log>
  </Logs>
  <InputFiles>
    <File doctype="20-F" isDefinitelyFs="true" isIfrs="true" isUsgaap="true" original="ea0205700-20f_magic.htm">ea0205700-20f_magic.htm</File>
    <File>mgic-20231231.xsd</File>
    <File>mgic-20231231_cal.xml</File>
    <File>mgic-20231231_def.xml</File>
    <File>mgic-20231231_lab.xml</File>
    <File>mgic-20231231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>image_001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="43">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="1024">https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
