The Destiny beta attracted 4,638,937 unique players, publisher Activision said on Wednesday.
The public test commenced on July 17 on PlayStation consoles and on July 22 on Xbox systems, before closing on all formats on July 27.
The Destiny beta provided registered players with three download codes so they could invite two friends to join them.
Activision Publishing CEO Eric Hirshberg said: "This is the biggest beta of this console generation by a wide margin and the largest console beta ever for a new video game IP to date.
"Hosting a beta at this scale is an incredible feat, so we're thrilled to see the phenomenal response. But the beta is just a taste of what's to come. We're counting down the days to our launch day."
Bungie chief operating officer Pete Parsons added: "We were totally blown away by the number of people who played the beta. We surpassed even our own goals and the feedback was invaluable.
"We cannot thank the community enough, the response was humbling and in the weeks ahead we'll be working hard to ensure that Destiny lives up to the expectations at launch."
The Destiny release date is September 9 on PS4, PS3, Xbox One and Xbox 360.