1 : with ingredients you have prepared yourself rather than with a prepared mixture of ingredients bought from a store
bread/cookies made from scratch
I used a frozen pie crust rather than making one from scratch.
2 : from a point at which nothing has been done yet
We will have to start the project from scratch.
He built the company from scratch.