The White House has lifted a 40-year-old ban on taking photos during public tours of the executive mansion, delighting tourists who immediately began posting pictures on social media.

First Lady Michelle Obama announced the change in a video on Instagram.

“If you’ve been on a White House tour, you may have seen this sign,” she said, holding up a placard reading: No Photos or Social Media allowed.

“Well, not anymore,” Ms Obama said as she tore it up, laughing.

Tourists were greeted by the video as they entered the White House on Wednesday.

They pulled out smartphones and digital cameras as they passed photos of the Obamas and signs reading: Photography is encouraged.

Some visitors posted instantly to Snapchat and Instagram, while others wanted to send the photos back home.

“I’m gonna share this with everybody,” said Thomas Auanger, a visitor from Texas, after taking a selfie with his seven-year-old son, Jack, in front of a portrait of Ronald Reagan.

I’m gonna share this with everybody

“I’ve taken pictures of every single thing since the First Lady said we could,” said Shari O’Connor, who was visiting from Boston.

The White House said the ban was put in place more than 40 years ago to limit the damage that old flash photography could have on artwork, the Office of the First Lady said.

It did not have an exact date for when the rule took effect, but said changes in flash photography led officials to lift it.

However, it’s not a complete free-for-all. Some cameras and accessories such as selfie sticks are still banned, along with video cameras, cameras with detachable lenses, tablets, tripods and monopods, the White House said.

Phone cameras and compact still cameras with a lens no longer than 7.6cm are allowed, it said.

A relaxation of the camera rule coincided with a new security measure surrounding the executive mansion last week: a spiked top fence to thwart any would-be intruders.

Sharp metal points will be bolted on top of the black iron fence as a temporary measure until authorities put up a more permanent structure next year.

The change was sparked by security breaches at the White House, including a September intrusion when a man scaled the fence and ran into the mansion.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.