XML 18 R1.htm IDEA: XBRL DOCUMENT v3.24.0.1
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2023
Mar. 08, 2024
Jun. 30, 2023
Document Information [Line Items]      
Entity Central Index Key 0000741516    
Entity Registrant Name AMERICAN NATIONAL BANKSHARES INC.    
Amendment Flag false    
Current Fiscal Year End Date --12-31    
Document Fiscal Period Focus FY    
Document Fiscal Year Focus 2023    
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 2023    
Document Transition Report false    
Entity File Number 0-12820    
Entity Incorporation, State or Country Code VA    
Entity Tax Identification Number 54-1284688    
Entity Address, Address Line One 628 Main Street    
Entity Address, City or Town Danville    
Entity Address, State or Province VA    
Entity Address, Postal Zip Code 24541    
City Area Code 434    
Local Phone Number 792-5111    
Title of 12(b) Security Common Stock, $1 par value    
Trading Symbol AMNB    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Document Financial Statement Error Correction [Flag] false    
Entity Shell Company false    
Entity Public Float     $ 321,204,000
Entity Common Stock, Shares Outstanding   10,630,679  
Auditor Name YOUNT, HYDE & BARBOUR, P.C.    
Auditor Firm ID 613    
Auditor Location Richmond, Virginia