I have a 2-year-old fig tree that only had fruit on it when I bought it. How do I get figs to grow on my tree?
How to Get My Fig Tree to Bear Fruit
Certified GKH Gardening Expert
Fig trees normally need 2-6 years to bear fruit. If it had figs on it when you bought it, I suspect the nursery rooted a fruited cutting to increase the sales or maybe they had a fluke cutting that was able to bear the first year but still needs to mature before it could fruit more.
You may also have bought a truly mature fig, and if you feel this is the case, this article will help you to get it to fruit: