I definitely code for fun.
I tend to work on side projects and I also spend an amount of time each month learning new things, whether that is new approaches, new technologies or new languages.
I find coding in my spare time very rewarding - I almost always work on things that help me out / solve a problem of my own, and doing these things allows me to improve the skills that I take into my professional life.