Quarterly report pursuant to Section 13 or 15(d)


Cover - shares
6 Months Ended
Jun. 30, 2023
Aug. 04, 2023
Document Type 10-Q  
Amendment Flag false  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Jun. 30, 2023  
Document Fiscal Period Focus Q2  
Document Fiscal Year Focus 2023  
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 945 Concord Street  
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   1,532,600
Common Stock, $0.001 par value per share [Member]    
Title of 12(b) Security Common Stock, $0.001 par value per share  
Trading Symbol XBIO  
Security Exchange Name NASDAQ  
Purchase Warrants [Member]    
Title of 12(b) Security Purchase Warrants  
Trading Symbol XBIOW  
Security Exchange Name NASDAQ