The best time to consider a career change is when you are safely ensconced in your existing one. A steady paycheck can relieve a lot of pressure.
While employed, take a few baby steps toward your new career path, such as volunteering or offering yourself as a freelancer or consultant.
Remember to examine all possibilities before attempting a career change. Talk to people in your network, read career and job profiles, and meet with a career management professional.