"Come on. Come on. Did you see that?" he said about one that hit the rim.
He eventually handed the ball to a boy and asked for help. The kid made a layup.
"He couldn't make one. I had to help him out," said Kahron Campbell, 10, of Landover, Md., according to the White House pool report.
Obama then moved closer to the net and made a basket.
The 135th annual Easter Egg Roll took place on Monday despite earlier concerns that the sequester or budget process could shut down the event.
For more on the White House Easter Egg Roll, click here.