v3.25.2
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2025
Aug. 13, 2025
Document Information [Line Items]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2025  
Document Transition Report false  
Entity File Number 001-37437  
Entity Registrant Name XBIOTECH INC.  
Entity Incorporation, State or Country Code CA  
Entity Address, Address Line One 5217 Winnebago Ln  
Entity Address, City or Town Austin  
Entity Address, State or Province TX  
Entity Address, Postal Zip Code 78744  
City Area Code 512  
Local Phone Number 386-2900  
Title of 12(b) Security Common Stock, no par value  
Trading Symbol XBIT  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Non-accelerated Filer  
Entity Small Business true  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding (in shares)   30,487,731
Entity Central Index Key 0001626878  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q2  
Amendment Flag false