When I open the door all 3 pile out, it's fun to watch. Unfortunately they have to share the yard with my two dogs who *cannot* be anywhere NEAR my birds, or else. This meant that I *had* to find a way to get the birds in and out of their coop without waiting for dusk, essentially, putting them back in there on MY schedule, not theirs.
The first thing I did was associate going back into their coop with better food than they could EVER get in my back yard, usually cracked corn or black sunflower seeds. Once they figured that out, I started gently herding them towards their coop with an old-fashioned broom. I never use it for actual contact, but I stand a few feet away from them and guide them with the broom, much like a herding dog will, this way and that.
The first time that happened my poor chickens freaked out and *ran* for the coop. Now, they're cool.
Once they got used to the basic idea, I introduced a specific phrase (for me, it's "Baaaaack to the coooop") that the chickens could learn in place of being herded with the broom.
Today, about 2 weeks after they first were allowed to roam my backyard, they're getting it. All I have to do is get behind them and slowly walk forward (this also makes them go in the direction I want them to!) and say my phrase, and they know what they have to do -- and they never resist 'cause there's always yummy stuff in their home when they get there. Today, for the first time, I didn't have to use my broom! yay! And it was a pleasant, non-stressful experience for everybody. Took about 30 seconds.
Now, some things you have to know: A) I only have 3 chickens. I have no idea if this would work with a flock that was more than about, oh, 6? B) My entire property is .13 acres. If you had to herd your chickens across vast swathes of wilderness, then perhaps this method won't work.
But if you've got a small flock and a small area . . . who knows?
HTH,
Whitewater