I made this and other similar cakes so many times and used different pans. My usual go-to is a classic 9-inch pie pan, because you can serve the dessert right in the pan. Make sure you grease it well, so the cake doesn’t stick to the bottom. You also can use 8-9-inch cake pan or 8x8-inch square baking pan. When I use a square pan, I like to like it with parchment paper, so it’s easier to take the cake out.