XML 12 R1.htm IDEA: XBRL DOCUMENT v3.19.1
Document And Entity Information - shares
3 Months Ended
Mar. 31, 2019
May 01, 2019
Document And Entity Information [Abstract]    
Entity Registrant Name QNB CORP  
Trading Symbol qnbc  
Document Type 10-Q  
Current Fiscal Year End Date --12-31  
Entity Common Stock, Shares Outstanding   3,493,935
Amendment Flag false  
Entity Central Index Key 0000750558  
Entity Filer Category Accelerated Filer  
Document Period End Date Mar. 31, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q1  
Entity Small Business true  
Entity Emerging Growth Company false