v3.25.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2025
Aug. 08, 2025
Cover [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2025  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q2  
Title of 12(b) Security Common Stock $0.0001 par value per share  
Security Exchange Name NASDAQ  
Entity Interactive Data Current Yes  
Trading Symbol DRRX  
Entity Registrant Name DURECT CORP  
Entity Central Index Key 0001082038  
Current Fiscal Year End Date --12-31  
Entity Filer Category Non-accelerated Filer  
Entity Small Business true  
Entity Emerging Growth Company false  
Entity Common Stock, Shares Outstanding   31,054,187
Entity Shell Company false  
Entity Incorporation, State or Country Code DE  
Entity File Number 000-31615  
Entity Tax Identification Number 94-3297098  
Entity Address, Address Line One 10240 Bubb Road  
Entity Address, City or Town Cupertino  
Entity Address, State or Province CA  
Entity Current Reporting Status Yes  
Entity Address, Postal Zip Code 95014  
City Area Code 408  
Local Phone Number 777-1417  
Document Quarterly Report true  
Document Transition Report false