Justin Timberlake says he learned his lesson after taking an illegal voting selfie

Justin Timberlake got the message after taking a photo of himself voting early to that turned out to be illegal.

The musician and actor recently posted the selfie on his Instagram, in which he was seen in a voting booth in his native Tennessee. (The photo was later removed from Instagram.)

Appearing on Jimmy Fallon’s “Tonight Show” Wednesday night, Timberlake told the audience that they should “get out and vote,” but maybe not follow his other step.

“Don’t take a picture of yourself,” Timberlake said. “I had no idea.”

Tennessee is one of a number of states in which recording a photo or video in a polling place is illegal. You can see the full list at ABC News.

Watch Justin Timberlake on the “Tonight Show” below:

NOW WATCH: ‘Shark Tank’ investor Robert Herjavec reveals the biggest mistakes small businesses make

NOW WATCH: Briefing videos

Business Insider Emails & Alerts

Site highlights each day to your inbox.

Follow Business Insider Australia on Facebook, Twitter, LinkedIn, and Instagram.