Yes, it is generally safe to put a frying pan in the oven if you don't have a baking tray available, as long as the frying pan is oven-safe. Many modern frying pans are made of materials that are suitable for oven use, such as stainless steel, cast iron, and some non-stick pans with heat-resistant handles.
Here are some important points to consider:
Check the handle: Before placing the frying pan in the oven, ensure that the handle is also oven-safe. Some frying pans have handles made of materials that may not withstand high oven temperatures. If your pan has a plastic or rubber handle, it is not safe to put it in the oven, as it may melt or catch fire.
Temperature limitations: Be mindful of the temperature limitations of your frying pan. Some non-stick pans, for example, have temperature restrictions, and exceeding them can cause damage to the non-stick coating.
Avoid broiling: If using a non-stick pan or a pan with a plastic handle, avoid using the broil setting in the oven. Broiling involves exposing food to direct heat from the top of the oven at very high temperatures, which could potentially damage the pan or its handle.
Protect the handle: If the handle of your frying pan is not oven-safe but you still need to use the oven for your cooking, you can wrap the handle with aluminum foil to protect it from direct heat.
Monitor cooking time: When using a frying pan in the oven, keep in mind that it may affect the cooking time compared to using a baking tray. The heat distribution might be different, so you may need to adjust the cooking time accordingly.
Use appropriate mitts or towels: When removing the frying pan from the oven, be sure to use oven mitts or thick towels to protect your hands from the hot handle.
If you're uncertain about the suitability of your frying pan for oven use, check the manufacturer's guidelines or look for any labeling on the pan that indicates whether it is oven-safe and up to what temperature. When in doubt, it's best to use a designated oven-safe baking tray or dish to avoid any potential risks.