When do kids stop napping?

When do kids stop napping? My 18 month old seems so grumpy but he has been refusing any and all naps…