Quarterly report pursuant to Section 13 or 15(d)

Cover

v3.21.2
Cover - shares
6 Months Ended
Jun. 30, 2021
Aug. 06, 2021
Affiliate, Collateralized Security [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Jun. 30, 2021  
Document Fiscal Period Focus Q2  
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   9,703,845
Common Stock, $0.001 par value per share    
Affiliate, Collateralized Security [Line Items]    
Title of 12(b) Security Common Stock, $0.001 par value per share  
Trading Symbol XBIO  
Security Exchange Name NASDAQ  
Purchase Warrants [Member]    
Affiliate, Collateralized Security [Line Items]    
Title of 12(b) Security Purchase Warrants  
Trading Symbol XBIOW  
Security Exchange Name NASDAQ