EMPLOYEE BENEFIT PLANS (Details for Stock Incentive Plans) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended | |
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014 | Jun. 09, 2016 |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Compensation expense | $ 36,349 | $ 34,537 | $ 28,267 | |
Performance service period | 3 years | | | |
Options Outstanding 1 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | $ 36.48 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 42.50 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 54,885 | | | |
Weighted-average remaining contractual life (in years) | 3 years 23 days | | | |
Weighted- average exercise price (in dollars per share) | $ 41.26 | | | |
Options Outstanding 2 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 42.51 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 58.06 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 42,156 | | | |
Weighted-average remaining contractual life (in years) | 4 years 1 month 20 days | | | |
Weighted- average exercise price (in dollars per share) | $ 56.53 | | | |
Options Outstanding 3 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 58.07 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 59.59 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 42,175 | | | |
Weighted-average remaining contractual life (in years) | 5 years 1 month 20 days | | | |
Weighted- average exercise price (in dollars per share) | $ 58.95 | | | |
Options Outstanding 4 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 59.60 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 81.19 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 2,320 | | | |
Weighted-average remaining contractual life (in years) | 4 years 5 months | | | |
Weighted- average exercise price (in dollars per share) | $ 60.23 | | | |
Options Outstanding 5 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 81.20 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 142.45 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 71,922 | | | |
Weighted-average remaining contractual life (in years) | 6 years 2 months 8 days | | | |
Weighted- average exercise price (in dollars per share) | $ 102.16 | | | |
Options Outstanding 6 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 142.46 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 188.22 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 82,400 | | | |
Weighted-average remaining contractual life (in years) | 9 years 2 months 8 days | | | |
Weighted- average exercise price (in dollars per share) | $ 182.75 | | | |
Options Outstanding 7 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 188.23 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 197.37 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 75,500 | | | |
Weighted-average remaining contractual life (in years) | 8 years 2 months 2 days | | | |
Weighted- average exercise price (in dollars per share) | $ 193.69 | | | |
Options Outstanding 8 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 197.38 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 201.04 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 68,800 | | | |
Weighted-average remaining contractual life (in years) | 7 years 1 month 28 days | | | |
Weighted- average exercise price (in dollars per share) | $ 201.04 | | | |
Options Outstanding 9 [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Range of exercise price, minimum, (in dollars per share) | 36.48 | | | |
Range of exercise price, maximum, (in dollars per share) | $ 201.04 | | | |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, End of Period [Abstract] | | | | |
Number of shares (in shares) | 440,158 | | | |
Weighted-average remaining contractual life (in years) | 6 years 6 months 14 days | | | |
Weighted- average exercise price (in dollars per share) | $ 132.08 | | | |
Options Exercisable 1 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 54,885 | | | |
Weighted-average exercise price (in dollars per share) | $ 41.26 | | | |
Options Exercisable 2 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 42,156 | | | |
Weighted-average exercise price (in dollars per share) | $ 56.53 | | | |
Options Exercisable 3 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 42,175 | | | |
Weighted-average exercise price (in dollars per share) | $ 58.95 | | | |
Options Exercisable 4 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 2,320 | | | |
Weighted-average exercise price (in dollars per share) | $ 60.23 | | | |
Options Exercisable 5 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 71,922 | | | |
Weighted-average exercise price (in dollars per share) | $ 102.16 | | | |
Options Exercisable 6 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 0 | | | |
Weighted-average exercise price (in dollars per share) | $ 0 | | | |
Options Exercisable 7 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 25,165 | | | |
Weighted-average exercise price (in dollars per share) | $ 193.69 | | | |
Options Exercisable 8 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 45,866 | | | |
Weighted-average exercise price (in dollars per share) | $ 201.04 | | | |
Options Exercisable 9 [Member] | | | | |
Options Exercisable [Abstract] | | | | |
Number of shares (in shares) | 284,489 | | | |
Weighted-average exercise price (in dollars per share) | $ 100.94 | | | |
CoStar Group, Inc. 2016 Stock Incentive Plan [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Shares available for future grant under the plan (in shares) | 2,000,000 | | | |
Shares of common stock authorized for issuance under the plan (in shares) | 1,450,000 | | | |
CoStar Group, Inc. 2007 Stock Incentive Plan [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Shares available for future grant under the plan (in shares) | | | | 0 |
Shares of common stock authorized for issuance under the plan (in shares) | 815,464 | | | |
Restricted Stock Units (RSUs) [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] | | | | |
Unvested restricted stock at beginning of period (in shares) | 1,430 | | | |
Granted (in shares) | 1,110 | | | |
Vested (in shares) | (371) | | | |
Canceled (in shares) | (970) | | | |
Unvested restricted stock at end of period (in shares) | 1,199 | 1,430 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Additional Disclosures [Abstract] | | | | |
Unvested restricted stock at beginning of period (in dollars per share) | $ 185.42 | | | |
Granted (in dollars per share) | 180.29 | | | |
Vested (in dollars per share) | 177.93 | | | |
Canceled (in dollars per share) | 185.85 | | | |
Unvested restricted stock at end of period (in dollars per share) | $ 182.64 | $ 185.42 | | |
Stock Options [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Compensation cost expected to be recognized in future years | $ 57,000 | | | |
Weighted-average-period expected to recognize the unrecognized compensation cost (in years) | 2 years 4 months 12 days | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] | | | | |
Outstanding at beginning of period (in shares) | 400,077 | 370,179 | 374,340 | |
Granted (in shares) | 82,400 | 89,500 | 87,700 | |
Exercised (in shares) | (29,285) | (59,602) | (68,126) | |
Canceled or expired (in shares) | (13,034) | | (23,735) | |
Outstanding at end of period (in shares) | 440,158 | 400,077 | 370,179 | |
Exercisable at end of period (in shares) | 284,489 | 220,107 | 188,656 | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract] | | | | |
Weighted-average exercise price, outstanding at beginning of period (in dollars per share) | $ 122.30 | $ 99.12 | $ 68.94 | |
Weighted-average exercise price, granted (in dollars per share) | 182.75 | 193.69 | 201.04 | |
Weighted-average exercise price, exercised (in dollars per share) | 112.78 | 85.48 | 55.81 | |
Weighted-average exercise price, canceled or expired (in dollars per share) | 195.78 | | 124.09 | |
Weighted-average exercise price, outstanding at end of period (in dollars per share) | 132.08 | 122.30 | 99.12 | |
Weighted-average exercise price, exercisable at end of period (in dollars per share) | $ 100.94 | $ 77.63 | $ 60.54 | |
Weighted-average remaining contract life of options outstanding at end of period | 6 years 6 months 15 days | | | |
Weighted-average remaining contract life of options exercisable at end of period | 5 years 5 months 9 days | | | |
Aggregate intrinsic value of options outstanding at end of period | $ 26,086 | | | |
Aggregate intrinsic value of options exercisable at end of period | 25,613 | | | |
Aggregate intrinsic value of options exercised | $ 3,000 | $ 7,000 | $ 9,000 | |
Weighted-average grant date fair value of each option granted during the period (in dollars per share) | $ 54.34 | $ 56.53 | $ 58.12 | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Dividend yield (in hundredths) | 0.00% | 0.00% | 0.00% | |
Expected volatility (in hundredths) | 31.00% | 30.00% | 30.00% | |
Risk-free interest rate (in hundredths) | 1.00% | 2.00% | 2.00% | |
Expected life (in years) | 5 years | 5 years | 5 years | |
Restricted Stock [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] | | | | |
Unvested restricted stock at beginning of period (in shares) | 503,113 | | | |
Granted (in shares) | 170,710 | | | |
Vested (in shares) | (227,814) | | | |
Canceled (in shares) | (51,297) | | | |
Unvested restricted stock at end of period (in shares) | 394,712 | 503,113 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Additional Disclosures [Abstract] | | | | |
Unvested restricted stock at beginning of period (in dollars per share) | $ 166.42 | | | |
Granted (in dollars per share) | 194.77 | | | |
Vested (in dollars per share) | 140.14 | | | |
Canceled (in dollars per share) | 177.72 | | | |
Unvested restricted stock at end of period (in dollars per share) | $ 192.38 | $ 166.42 | | |
Performance-based RSAs - with Market Condition [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Compensation expense | $ 3,000 | $ 3,000 | $ 1,000 | |
Compensation cost expected to be recognized in future years | $ 5,000 | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] | | | | |
Dividend yield (in hundredths) | 0.00% | 0.00% | 0.00% | |
Expected volatility (in hundredths) | 28.00% | 26.00% | 30.00% | |
Risk-free interest rate (in hundredths) | 1.00% | 1.00% | 1.00% | |
Expected life (in years) | 3 years | 3 years | 3 years | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] | | | | |
Unvested restricted stock at beginning of period (in shares) | 54,960 | | | |
Granted (in shares) | 25,680 | 32,400 | 24,720 | |
Vested (in shares) | 0 | | | |
Canceled (in shares) | (8,160) | | | |
Unvested restricted stock at end of period (in shares) | 72,480 | 54,960 | | |
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Additional Disclosures [Abstract] | | | | |
Unvested restricted stock at beginning of period (in dollars per share) | $ 211.41 | | | |
Granted (in dollars per share) | 184.97 | $ 208.08 | $ 216.20 | |
Vested (in dollars per share) | 0 | | | |
Canceled (in dollars per share) | 211.18 | | | |
Unvested restricted stock at end of period (in dollars per share) | $ 202.07 | 211.41 | | |
Minimum [Member] | CoStar Group, Inc. 2016 Stock Incentive Plan [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Vesting period of options and restricted stock grants | 3 years | | | |
Minimum [Member] | CoStar Group, Inc. 2007 Stock Incentive Plan [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Vesting period of options and restricted stock grants | 3 years | | | |
Minimum [Member] | Stock Options [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] | | | | |
Outstanding at beginning of period, (in dollars per share) | $ 36.48 | 36.48 | 36.48 | |
Granted (in dollars per share) | 182.75 | 193.69 | 201.04 | |
Exercised (in dollars per share) | 36.48 | 36.48 | 39 | |
Canceled or expired (in dollars per share) | 193.69 | 0 | 58.95 | |
Outstanding at end of period, (in dollars per share) | 36.48 | 36.48 | 36.48 | |
Exercisable at end of period (in dollars per share) | $ 36.48 | 36.48 | 36.48 | |
Minimum [Member] | Restricted Stock [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Vesting period of options and restricted stock grants | 1 year | | | |
Minimum [Member] | Performance-based RSAs - with Market Condition [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Share-based compensation arrangement, award vesting rights, percentage | 80.00% | | | |
Minimum [Member] | Performance Shares [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Share-based compensation arrangement, award vesting rights, percentage | 0.00% | | | |
Maximum [Member] | CoStar Group, Inc. 2016 Stock Incentive Plan [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Vesting period of options and restricted stock grants | 4 years | | | |
Maximum [Member] | CoStar Group, Inc. 2007 Stock Incentive Plan [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Vesting period of options and restricted stock grants | 4 years | | | |
Maximum [Member] | Stock Options [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] | | | | |
Outstanding at beginning of period, (in dollars per share) | $ 201.04 | 201.04 | 102.16 | |
Granted (in dollars per share) | 182.75 | 193.69 | 201.04 | |
Exercised (in dollars per share) | 201.04 | 201.04 | 102.16 | |
Canceled or expired (in dollars per share) | 201.04 | 0 | 201.04 | |
Outstanding at end of period, (in dollars per share) | 201.04 | 201.04 | 201.04 | |
Exercisable at end of period (in dollars per share) | $ 201.04 | $ 201.04 | $ 102.16 | |
Maximum [Member] | Performance-based RSAs - with Market Condition [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Share-based compensation arrangement, award vesting rights, percentage | 120.00% | | | |
Maximum [Member] | Performance Shares [Member] | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | |
Share-based compensation arrangement, award vesting rights, percentage | 200.00% | | | |