If you are on the voters list, before you are given your ballot, you will be asked to show your proof of identity to Elections Ontario poll officials.
If you are not on the voters list, you need to apply before you can vote. When you apply, you need to show proof of identity and proof of residence.
Refer to the Voter Identification page to find out what ID is accepted.