v2.4.1.9
EQUITY (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Outstanding- Number of options 703,110us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber  
Granted - Number of options 155,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross  
Exercised - Number of options (115,721)mgic_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisedInPeriodGross  
Forfeited - Number of options (3,500)us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod  
Outstanding- Number of options 738,889us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber 703,110us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
Exercisable - Number of options 448,639us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber  
Vested and expected to vest - Number of options 738,889us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber  
Outstanding - Weighted average exercise price $ 3.16us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice  
Granted - Weighted average exercise price $ 7.47us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice  
Exercised - Weighted average exercise price $ 1.86us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice  
Forfeited - Weighted average exercise price $ 4.00us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice  
Outstanding - Weighted average exercise price $ 4.26us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice $ 3.16us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
Exercisable - Weighted average exercise price $ 2.95us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice  
Vested and expected to vest - Weighted average exercise price $ 4.26us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice  
Outstanding - Weighted average remaining contractual term (in years) 6 years 5 months 1 day 6 years 8 months 5 days
Exercisable - Weighted average remaining contractual term (in years) 5 years 11 days  
Vested and expected to vest - Weighted average remaining contractual term (in years) 6 years 5 months 1 day  
Outstanding - Aggregate intrinsic value $ 2,298us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue  
Outstanding - Aggregate intrinsic value 1,248us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue 2,298us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue
Exercisable - Aggregate intrinsic value 1,348us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1  
Vested and expected to vest - Aggregate intrinsic value $ 1,248us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue