v3.19.2
Cover Page - shares
6 Months Ended
Jun. 30, 2019
Jul. 26, 2019
Cover page.    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2019  
Document Transition Report false  
Entity File Number 001-36376  
Entity Registrant Name 2U, INC.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 26-2335939  
Entity Address, Address Line One 7900 Harkins Road  
Entity Address, City or Town Lanham,  
Entity Address, State or Province MD  
Entity Address, Postal Zip Code 20706  
City Area Code 301  
Local Phone Number 892-4350  
Title of 12(b) Security Common stock, $0.001 par value per share  
Trading Symbol TWOU  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   63,334,891
Entity Central Index Key 0001459417  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q2  
Amendment Flag false