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 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 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 to our Firm under the heading “Experts” in the Prospectus, which is part of this Registration Statement.
/s/ Marcum LLP
October 12, 2021