Labour Party MP Louisa Wall is close to securing the support to legalise same-sex marriage, a Herald poll of MPs shows.
However, many MPs were refusing to commit to a decision on the marriage equality bill, and the final vote could come down to the wire.
A straw poll of all 121 MPs found that fifty-four MPs have indicated they would support it at least in its early stages, or were considering supporting it.
View our interactive graphic poll of MPs here.
The bill, which was expected to come before Parliament in late August, needed 61 votes to pass.