INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM’S CONSENT
We consent to the incorporation by reference in this Registration Statement of Xenetic Biosciences, Inc. on Form S-3 (the “Registration Statement”) of our report dated March 16, 2021, with respect to our audits of the consolidated financial statements of Xenetic Biosciences, Inc. as of December 31, 2020 and 2019 and for each of the two years in the period ended December 31, 2020 appearing in the Annual Report on Form 10-K of Xenetic Biosciences, Inc. for the year ended December 31, 2020. We also consent to the reference of our firm under the heading “Experts” in the Prospectus, which is part of this Registration Statement.
/s/ Marcum LLP
August 13, 2021