XML 108 R93.htm IDEA: XBRL DOCUMENT
v3.21.1

Segment Geographical Information and Major Customers (Details) - Schedule of total revenues classified according to geographical destination - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Revenue, Major Customer [Line Items] |  |  |
Total revenues | $ 371,194 | $ 325,630 | $ 284,375
United States [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Total revenues | 177,882 | 158,095 | 137,066
Israel [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Total revenues | 149,094 | 124,523 | 103,850
Europe [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Total revenues | 26,947 | 25,788 | 28,257
Japan [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Total revenues | 12,643 | 12,499 | 9,797
Others [Member] |  |  |
Revenue, Major Customer [Line Items] |  |  |
Total revenues | $ 4,628 | $ 4,725 | $ 5,405

X
- Definition Total revenues + References No definition available. + Details
Name: | mgic_SalesRevenuesNet
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EntityWideRevenueMajorCustomerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_IL
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=srt_EuropeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_JP
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mgic_OthersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |