# Durect Corp POS AM filed Jul 1, 2010: Consent of Independent Registered Public Accounting Firm

- Company: Durect Corp
- Filing: Form POS AM (Post-effective amendment to a registration statement that is not immediately effective upon filing), filed Jul 1, 2010
- Document: Consent of Independent Registered Public Accounting Firm (dex231.htm)
- Page for people: https://s6y.io/c/1082038/POS_AM-20100701/dex231.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/1082038/000119312510152699/dex231.htm
- This is the whole document, about 100 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/1082038/POS_AM-20100701/dex231.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/1082038/POS_AM-20100701/dex231.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### Exhibit 23.1

### CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the reference to our firm under the caption “Experts” in the Registration Statement (Post Effective Amendment No. 1 to Form S-3 No. 333-155042) and related prospectus of DURECT Corporation and to the incorporation by reference therein of our reports dated March 4, 2010, with respect to the financial statements and schedule of DURECT Corporation, and the effectiveness of internal control over financial reporting of DURECT Corporation, included in its Annual Report (Form 10-K) for the year ended December 31, 2009, filed with the Securities and Exchange Commission.

/s/ ERNST & YOUNG LLP

Palo Alto, California

June 29, 2010
