Irreversible inhibitors of G12C mutant K-Ras protein are provided. Also disclosed are methods to modulate the activity of G12C mutant K-Ras protein and methods of treatment of disorders mediated by G12C mutant K-Ras protein.