Officials say 36,000 people signed up for the lottery.
Those selected will have until next Thursday to complete their registration.
Technical problems with the marathon website caused officials to stop registration and put the lottery system in place.