v3.26.3
Cover - shares
9 Months Ended
Sep. 30, 2026
Oct. 26, 2026
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Sep. 30, 2026  
Document Transition Report false  
Entity File Number 001-32426  
Entity Registrant Name WEX Inc.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 01-0526993  
Entity Address, Address Line One 1 Hancock St.,  
Entity Address, City or Town Portland,  
Entity Address, State or Province ME  
Entity Address, Postal Zip Code 04101  
City Area Code 207  
Local Phone Number 773–8171  
Title of 12(b) Security Common Stock, $0.01 par value  
Trading Symbol WEX  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   32,864,048
Entity Central Index Key 0001309108  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2026  
Document Fiscal Period Focus Q3  
Amendment Flag false