Attached files

file filename
EX-5.1 - EX-5.1 - Osmotica Pharmaceuticals plca2240393zex-5_1.htm
EX-1.1 - EX-1.1 - Osmotica Pharmaceuticals plca2240393zex-1_1.htm
S-1/A - S-1/A - Osmotica Pharmaceuticals plca2240393zs-1a.htm

QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


Consent of Independent Registered Public Accounting Firm

Osmotica Pharmaceuticals plc
Dublin, Ireland

We hereby consent to the incorporation by reference in the Prospectus constituting a part of this Amendment No. 1 to the Registration Statement on Form S-1 (No. 333-235661) of our report dated March 27, 2019 (except for Note 1, as to which the date is December 20, 2019), relating to the consolidated financial statements of Osmotica Pharmaceuticals plc, which is incorporated by reference in that Prospectus.

We also consent to the reference to us under the caption "Experts" in the Prospectus.

/s/ BDO USA, LLP
Woodbridge, New Jersey

January 3, 2020




QuickLinks

Consent of Independent Registered Public Accounting Firm