Quarterly report pursuant to Section 13 or 15(d)


Cover - shares
9 Months Ended
Sep. 30, 2021
Nov. 05, 2021
Document Type 10-Q  
Amendment Flag false  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Sep. 30, 2021  
Document Fiscal Period Focus Q3  
Document Fiscal Year Focus 2021  
Current Fiscal Year End Date --12-31  
Entity File Number 001-37937  
Entity Registrant Name XENETIC BIOSCIENCES, INC.  
Entity Central Index Key 0001534525  
Entity Tax Identification Number 45-2952962  
Entity Incorporation, State or Country Code NV  
Entity Address, Address Line One 40 Speen Street  
Entity Address, Address Line Two Suite 102  
Entity Address, City or Town Framingham  
Entity Address, State or Province MA  
Entity Address, Postal Zip Code 01701  
City Area Code 781  
Local Phone Number 778-7720  
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   13,387,978
Common Stock, $0.001 par value per share    
Title of 12(b) Security Common Stock, $0.001 par value per share  
Trading Symbol XBIO  
Security Exchange Name NASDAQ  
Purchase Warrants    
Title of 12(b) Security Purchase Warrants  
Trading Symbol XBIOW  
Security Exchange Name NASDAQ