The legislation, backed by Conservative, Labor and Liberal Democrats leaderships, was approved by peers and parliament members earlier in the week.
With the assent of the queen, a ceremonial but required formality, the proposal became law. Same-sex marriages are expected to take place by summer of next year, the BBC said.
The law does not compel religious organizations to perform same-sex marriages but churches can "opt in" if they choose.
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'
Beyonce flaunts bikini body, Blue Ivy in vacation pics