How to Turn Fridge Leftovers into Recipes with AI

Everyday life Tutorial5 min read·Updated July 4, 2026
The short answer

Type what you have in your fridge into ChatGPT or a similar AI, and it will suggest a recipe using those exact ingredients. It takes about 30 seconds, works with almost any combination of food, and can adapt for dietary restrictions.

Opening the fridge to a random collection of leftovers and having no idea what to cook is one of those small frustrations of everyday life. AI has a genuinely useful answer: just tell it what you have.

Here's how to do it in a few minutes, starting with the exact prompt to use.

Open ChatGPT (or any AI chatbot)

Go to chat.openai.com in your browser, or open the ChatGPT app on your phone. You don't need a paid account for this — the free version works fine.

Gemini (Google's AI) and Claude also work well for recipe generation if you prefer those.

List what's in your fridge

Look in your fridge and write down what you have. Don't worry about being precise — "some chicken thighs," "half a bell pepper," "a few eggs" is perfectly fine.

Also note:

  • Any dietary needs (vegetarian, no gluten, no dairy)
  • How much time you have ("I want something ready in 30 minutes")
  • How many people you're cooking for

Use this prompt

Paste this into ChatGPT, filling in your actual ingredients:

I have these ingredients in my fridge: [list them here].
I also have basic pantry staples like olive oil, salt, pepper, garlic, and onions.
Can you suggest a recipe that uses most of what I have?
I'm cooking for [number] people and have about [X] minutes.
[Any dietary notes, e.g. "no dairy" or "I don't eat pork"]

For example: "I have chicken thighs, half a zucchini, some feta cheese, a lemon, and cherry tomatoes. Basic pantry staples on hand. Cooking for 2, have about 45 minutes."

Read the recipe and ask follow-up questions

ChatGPT will return a full recipe with ingredients, quantities, and step-by-step instructions. Read it through before you start cooking.

If something doesn't work for you, just ask:

  • "I don't have feta — what else could I use?"
  • "Can I make this in an air fryer instead of the oven?"
  • "How do I know when the chicken is fully cooked?"

You can have a full cooking conversation. It's like texting a knowledgeable friend who happens to know a lot about food.

A note on food safety

AI can suggest recipes, but it can't see your food. Apply normal food safety rules:

  • Don't use meat or fish past its use-by date.
  • Cook poultry to an internal temperature of 165°F (74°C).
  • If something smells off, trust your nose — no recipe is worth getting sick.
  • When in doubt about a leftover's age, throw it out.

AI is great at creative combinations, but you are the last line of defense on whether the food is actually safe to eat.

What to Try Next

If you want to take this further and plan meals for the whole week, read AI Meal Planning: How to Plan a Week of Meals with ChatGPT. And if you're new to writing AI prompts and want to get better results faster, How to Write Good AI Prompts covers the basics in plain English.

Published July 4, 2026 · Updated July 4, 2026How we test →

Frequently asked questions

Which AI app is best for finding recipes from ingredients?
ChatGPT works well for most people. Alternatives include Gemini and a dedicated app called Supercook, which lets you enter pantry items and filters recipes by what you have.
What if the AI suggests a recipe with ingredients I don't have?
Just tell it. Say 'I don't have X — what can I use instead?' and it will suggest a substitute. You can also add 'only use ingredients I listed' to your original prompt.
Is it safe to cook what AI recommends?
For standard cooking, yes. Use common food safety sense: don't eat meat that's past its use-by date, cook poultry to safe internal temperatures, and never eat anything that smells off. AI can't see or smell your food.
Can AI help me reduce food waste?
Yes, this is one of the most practical everyday uses of AI. Using up produce before it spoils is exactly the kind of constraint AI handles well — it's like having a creative chef who works with what you have.
Radim Sekera
Founder & editor

Radim is a software developer who spends his days building with AI and his evenings explaining it to family members who don’t care how it works — only what it can do for them. Every guide is tested by hand before it’s published.