But he faces a tough fight, with his likely Democratic opponents already campaigning and fundraising for months. Weiner would need to begin gaining signatures to appear on the ballot.
Weiner resigned from Congress in 2011 after admitting to tweeting inappropriate images of himself to women he met online.
In an interview with the New York Times last month Weiner said he was weighing a political comeback. He said he regretted his actions and believed that voters would be willing to give him a “second chance.”
A Quinnipiac University poll released last month showed Weiner would finish second in the Democratic primary for mayor with 15 percent support, trailing frontrunner Christine Quinn, the city council speaker, at 28 percent.
But Weiner still holds high negatives, underwater with a 33-41 split.
Forty-four percent of New Yorkers also said he should not run, with 41 percent encouraging him to get in the race.