The Independent Electoral and Boundaries Commission (IEBC) has warned voters against violating the secrecy of the ballot.
This is after a section of social media users were spotted sharing photos of marked ballot papers on various platforms.
"Voters are warned that violating secrecy of the ballot through sharing of photos of marked ballot papers is punishable by law," said IEBC.
Election Offences Act, No 37 of 2016, says "a person attending any proceedings relating to an election and who, without lawful excuse captures an image of any marked ballot for purposes of financial gain or for showing allegiance, commits an offence."
Anyone who contravenes this act is liable on conviction, to a fine not exceeding one million shillings or to imprisonment for a term not exceeding three years or to both.