I've only ever used canned or frozen green beans in this recipe. You can use fresh but you'll probably need to steam them a bit first or they won't fully cook through when baking.