XML 16 R1.htm IDEA: XBRL DOCUMENT v3.19.1
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2018
Mar. 11, 2019
Jun. 30, 2018
Document Information [Line Items]      
Entity Registrant Name NATIONAL BANKSHARES INC    
Entity Central Index Key 0000796534    
Trading Symbol nksh    
Current Fiscal Year End Date --12-31    
Entity Filer Category Accelerated Filer    
Entity Current Reporting Status Yes    
Entity Voluntary Filers No    
Entity Well-known Seasoned Issuer No    
Entity Emerging Growth Company false    
Entity Small Business false    
Entity Common Stock, Shares Outstanding (in shares)   6,505,574  
Entity Public Float     $ 322,849,994
Entity Shell Company false    
Document Type 10-K    
Document Period End Date Dec. 31, 2018    
Document Fiscal Year Focus 2018    
Document Fiscal Period Focus FY    
Amendment Flag false