Document And Entity Information (USD $)
12 Months Ended
Dec. 31, 2014
Mar. 04, 2015
Jun. 30, 2014
Document And Entity Information [Abstract]      
Document Type 10-K    
Amendment Flag false    
Document Period End Date Dec. 31, 2014    
Document Fiscal Year Focus 2014    
Document Fiscal Period Focus FY    
Entity Registrant Name Codorus Valley Bancorp Inc    
Entity Central Index Key 0000806279    
Entity Filer Category Accelerated Filer    
Current Fiscal Year End Date --12-31    
Entity Common Stock, Shares Outstanding   5,838,553  
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Public Float     $ 108,117,325