Annual report pursuant to Section 13 and 15(d)


Cover - USD ($)
12 Months Ended
Dec. 31, 2022
Mar. 29, 2023
Jun. 30, 2022
Cover [Abstract]      
Document Type 10-K    
Amendment Flag false    
Document Annual Report true    
Document Transition Report false    
Document Period End Date Dec. 31, 2022    
Document Fiscal Period Focus FY    
Document Fiscal Year Focus 2022    
Current Fiscal Year End Date --12-31    
Entity File Number 001-36268    
Entity Registrant Name MyMD Pharmaceuticals, Inc.    
Entity Central Index Key 0001321834    
Entity Tax Identification Number 22-2983783    
Entity Incorporation, State or Country Code NJ    
Entity Address, Address Line One 855 N. Wolfe Street    
Entity Address, Address Line Two Suite 601    
Entity Address, City or Town Baltimore    
Entity Address, State or Province MD    
Entity Address, Postal Zip Code 21205    
City Area Code (856)    
Local Phone Number 848-8698    
Title of 12(b) Security Shares of Common Stock, no par value    
Trading Symbol MYMD    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
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 Public Float     $ 70,298,348
Entity Common Stock, Shares Outstanding   39,470,009  
ICFR Auditor Attestation Flag false    
Auditor Firm ID 536    
Auditor Name Morison Cogen LLP    
Auditor Location Blue Bell, Pennsylvania