Annual report pursuant to Section 13 and 15(d)


Cover - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Mar. 31, 2022
Jun. 30, 2021
Cover [Abstract]        
Document Type 10-K      
Amendment Flag false      
Document Annual Report true      
Document Transition Report false      
Document Period End Date Dec. 31, 2021      
Document Fiscal Period Focus FY      
Document Fiscal Year Focus 2021      
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       $ 21,254,305
Entity Common Stock, Shares Outstanding     38,058,245  
Documents Incorporated by Reference None.      
ICFR Auditor Attestation Flag false      
Auditor Firm ID 536 677    
Auditor Name Morison Cogen LLP CHERRY BEKAERT LLP    
Auditor Location Blue Bell, Pennsylvania Tampa, Florida