Typically, it can take anywhere from a few weeks to several months to find a profitable niche in the ecommerce market. It depends on your research skills, the competition, and your willingness to experiment and make adjustments based on data.