TOKYO, May 24 (Reuters) - Japan's core consumer prices rose 2.2% in April from a year earlier, government data showed on Friday.

The core consumer price index, which includes oil products but excludes fresh food prices, compared with economists' median estimate for a 2.2% annual gain.

Stripping away the effect of fresh food and energy, consumer prices rose 2.4% in April from a year ago.

(Reporting by Tokyo Newsroom)