The codes are being sent to people's mobile phones or you can download a free security app.
Folks using Google's free Gmail service will have the option of using the security codes within the next few months.
The measure is in response to a growing concern of phishing scams and stolen passwords that are then re-used.