Document and Entity Information - shares
3 Months Ended
Apr. 30, 2018
May 31, 2018
Document And Entity Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Apr. 30, 2018  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q1  
Trading Symbol VEEV  
Entity Registrant Name VEEVA SYSTEMS INC  
Entity Central Index Key 0001393052  
Current Fiscal Year End Date --01-31  
Entity Filer Category Large Accelerated Filer  
Class A common stock [Member]    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   120,613,021
Class B common stock [Member]    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   22,826,092