EX-23.1 2 d550248dex231.htm EX-23.1 EX-23.1

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” and to the use of our report dated October 12, 2018, in Amendment No. 2 to the Registration Statement (Form S-1 No. 333-229152) and related Prospectus of Alector, Inc. for the registration of 9,250,000 shares of its common stock.

/s/ Ernst & Young LLP

San Jose, California

February 5, 2019