Stock Plans - Additional Information (Detail) (USD $) | 3 Months Ended | 1 Months Ended | 0 Months Ended | 12 Months Ended | 1 Months Ended | |
Mar. 31, 2015 | Mar. 31, 2014 | Mar. 31, 2015 | Feb. 07, 2014 | Dec. 31, 2013 | Dec. 31, 2014 | Dec. 31, 2010 | Feb. 29, 2012 | Jan. 31, 2012 | Sep. 30, 2011 | Nov. 30, 2013 | Aug. 31, 2014 | Mar. 31, 2010 |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Number of stock option outstanding, granted | 452,791 | | | | | | | | | | | | |
Performance-based restricted stock units granted | 463,497 | | | | | | | | | | | | |
Market value of common stock | $42.70 | | $42.70 | | | | | | | | | | |
Capitalized stock-based compensation cost | $0 | $0 | | | | | | | | | | | |
Recognized stock-based compensation tax benefits | 43,000 | 0 | | | | | | | | | | | |
Weighted-average grant date fair value | $42.90 | | | | | | | | | | | | |
Unvested shares | 2,558,481 | | 2,558,481 | | | 2,279,081 | | | | | | | |
Aggregate net proceeds from sale of common stock, net of underwriting discounts, commissions and offering costs | 1,618,000 | 2,471,000 | | | | | | | | | | | |
Follow-On Public Offering [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Issuance of common stock, shares | | | 3,450,000 | | | | | | | | | | |
Sale of common stock, price per share | $39 | | $39 | | | | | | | | | | |
Aggregate net proceeds from sale of common stock, net of underwriting discounts, commissions and offering costs | | | 127,900,000 | | | | | | | | | | |
Underwriting discounts, commissions and other offering expenses | | | 6,700,000 | | | | | | | | | | |
Skyfence Networks Ltd. [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Compensation cost related to unvested stock-based awards granted, but not yet recognized | | | | 1,100,000 | | | | | | | | | |
Nonvested awards, compensation cost not yet recognized, period for recognition | | | | 4 years | | | | | | | | | |
Business acquisition purchase price, shares issued | | | | 884,422 | | | | | | | | | |
Closing price of stock | | | | $59.08 | | | | | | | | | |
Common stock, shares vested | 0 | | | | | | | | | | | | |
Incapsula [Member] | Skyfence Networks Ltd. [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Assumed common stock options in acquisitions | 72,607 | | | | | | | | | | | | |
Restricted Stock Units for Common Stock [Member] | Incapsula [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Shares issuable, as-converted to common stock-basis | | | | | 198,825 | | | | | | | | |
Restricted Stock Units And Options Outstanding [Member] | Incapsula [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Shares issuable, as-converted to common stock-basis | 247,184 | | | | | | | | | | | | |
Restricted Shares of Common Stock Subject to Repurchase [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Performance-based restricted stock units granted | 0 | | | | | 0 | 843,819 | | | | | | |
Weighted-average grant date fair value | | | | | | | $1.94 | | | | | | |
Unvested shares | 210,954 | | 210,954 | | | | | | | | | | |
Restricted Shares of Common Stock Subject to Repurchase [Member] | Skyfence Networks Ltd. [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Business acquisition purchase price, shares issued | | | | 532,262 | | | | | | | | | |
Restricted Shares of Common Stock Subject to Repurchase [Member] | Maximum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting period | 60 months | | | | | | | | | | | | |
Restricted Shares of Common Stock Subject to Repurchase [Member] | Minimum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting period | 48 months | | | | | | | | | | | | |
Stock options [Member] | Director [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Unvested shares | 4,167 | | 4,167 | | | 6,667 | | | | | | | |
Unvested shares, value | 45,000 | | 45,000 | | | 71,000 | | | | | | | |
2011 Stock Option and Incentive Plan [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Reserve of common stock for future issuance | | | | | | | | | | 1,000,000 | | | |
Increase percentage of common stock outstanding | | | | | | 4.00% | | | | | | | |
Shares available for grant | | | | | | 1,166,742 | | | | | | | |
Increase in reserve share | | | | | | 1,075,819 | | | | | | | |
2011 Stock Option and Incentive Plan [Member] | Restricted Stock Units for Common Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting period | | | | | | | | 4 years | | | | | |
Description of vesting terms | The Company also grants RSUs in February 2012, which generally vest over either a four-year period with 25% vesting at the end of one year and the remainder vesting quarterly thereafter or they completely vest at the end of a three-year period. | | | | | | | | | | | | |
2011 Stock Option and Incentive Plan [Member] | Restricted Stock Units for Common Stock [Member] | Share-based Compensation Award, Tranche One [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting percentage at the end of period | | | | | | | | 25.00% | | | | | |
2011 Stock Option and Incentive Plan [Member] | Stock options [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Maximum percentage of fair value of common stock on grant date | 100.00% | | | | | | | | | | | | |
Expiration period | 10 years | | | | | | | | | | | | |
2011 Employee Stock Purchase Plan [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Reserve of common stock for future issuance | | | | | | | | | | 500,000 | | | |
Increase percentage of common stock outstanding | | | | | | | | | 1.00% | | | | |
Increase in reserve share | | | | | | 268,955 | | | | | | | |
Percentage in payroll of deduction base salary to acquire shares of common stock | | | | | | | | | | 15.00% | | | |
Offering period | | | | | | | | | | 24 months | | | |
Percentage of fair value of common stock on offering period | | | | | | | | | | 85.00% | | | |
Number of years, shares reserved for issuance will increase | | | | | | | | | 8 years | | | | |
2011 Employee Stock Purchase Plan [Member] | Maximum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Reserve of common stock for future issuance | | | | | | | | | | 20,000,000 | | | |
Number of purchase periods for offering | | | | | | | | | | 5 | | | |
Incapsula 2010 Share Incentive Plan [Member] | Maximum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Reserve of common stock for future issuance | | | | | | | | | | | | | 4,733,333 |
Incapsula 2010 Share Incentive Plan [Member] | Restricted Stock Units for Common Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Performance-based restricted stock units granted | | | | | | | | | | | 7,095,461 | | |
2003 Stock Plan [Member] | Stock options [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Maximum percentage of fair value of common stock on grant date | 85.00% | | | | | | | | | | | | |
2003 Stock Plan [Member] | Stock options [Member] | Greater 10% Ownership [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Maximum percentage of fair value of common stock on grant date | 110.00% | | | | | | | | | | | | |
Minimum percentage of combined voting power | 10.00% | | | | | | | | | | | | |
2003 Stock Plan [Member] | Stock options [Member] | Maximum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Expiration period | 10 years | | | | | | | | | | | | |
2003 Stock Plan [Member] | Stock options [Member] | Minimum [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting period | 4 years | | | | | | | | | | | | |
Inducement Stock Option Plan And Agreement [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Description of vesting terms | In accordance with the terms of the Inducement Option Plan, the Company can issue an option to purchase up to 265,000 shares of the Companybs common stock at an exercise price equal to the fair market value of a share of the Companybs common stock on the date of grant of the option. The option, which will have a ten-year term, will vest at the rate of 25% of the shares on the first anniversary of the vesting commencement date with an additional 6.25% of the shares subject to the option vesting each quarter thereafter so long as the participant has not been terminated. | | | | | | | | | | | | |
Number of stock option outstanding, granted | | | | | | | | | | | | 265,000 | |
Inducement Stock Option Plan And Agreement [Member] | Share-based Compensation Award, Tranche One [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting percentage at the end of period | | | | | | | | | | | | 25.00% | |
Inducement Stock Option Plan And Agreement [Member] | Quarterly Vesting [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting percentage at the end of period | | | | | | | | | | | | 6.25% | |
Inducement Restricted Stock Unit Plan and Agreement [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Shares available for grant | | | | | | | | | | | | 265,000 | |
Description of vesting terms | In accordance with the terms of the Inducement RSU Plan, the Company can issue RSUs representing a total of 265,000 shares of the Companybs common stock (the RSUsb). The RSUs, which will expire following settlement, will vest at the rate of 25% of the shares on the first anniversary of the vesting commencement date with an additional 6.25% of the shares subject to the RSU vesting each quarter thereafter so long as participant has not been terminated. | | | | | | | | | | | | |
Inducement Restricted Stock Unit Plan and Agreement [Member] | Share-based Compensation Award, Tranche One [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting percentage at the end of period | | | | | | | | | | | | 25.00% | |
Inducement Restricted Stock Unit Plan and Agreement [Member] | Quarterly Vesting [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Vesting percentage at the end of period | | | | | | | | | | | | 6.25% | |
2003 Stock and 2011 Imperva Stock Option and Incentive Plans [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Intrinsic value of options exercised | 1,700,000 | | | | | | | | | | | | |
Market value of common stock | $42.70 | | $42.70 | | | | | | | | | | |
Compensation cost related to unvested stock-based awards granted, but not yet recognized | $108,800,000 | | $108,800,000 | | | | | | | | | | |
Nonvested awards, compensation cost not yet recognized, period for recognition | 2 years 10 months 24 days | | | | | | | | | | | | |