A new Ipsos MORI poll for showed a rise in support for the Yes campaign, while support for the UK is unchanged.
Among those who described themselves as being "certain to vote" in the referendum, 40% said they supported independence, an increase of four percentage points from June.
Meanwhile the proportion of people who favour Scotland staying part of the UK remained static at 54%. Just 6% of those polled said they had not yet decided how they would vote, down from 10% in June.
A total of 1,006 people in Scotland were questioned between July 28 and August 3 for the research.
When the undecided voters were factored out, the poll put support for the UK at 58%, a drop of two percentage points from June, while support for independence was up by two points to 42%.
Of those who were surveyed, 81% said they were "absolutely certain" to vote in the referendum, including 89% of those aged 55 and above and 59% of young voters in the 16 to 24 age group.
The poll was conducted during the Glasgow 2014 Commonwealth Games, with 96% of people stating that the sporting tournament was either "very successful" or "fairly successful".
But 89% of people questioned said the sporting tournament would have no impact on how they will cast their ballot in September.
Mark Diffley, director at Ipsos MORI Scotland, said: "With 45 days to go until the referendum the Yes campaign will be heartened that it continues to narrow the gap in public opinion. It appears that the gains made by Yes are driven by undecided voters deciding to vote in favour of independence in September.
"The No campaign will take some comfort that support for the union remains unchanged and that it retains a significant lead with the referendum fast approaching."
He added: "The Commonwealth Games has proved a complete triumph with the public though it appears to have had little effect on voting intentions in September."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article