The custom of displaying koinobori is originated from the Chinese tradition and it is to pray for the success in life of boys (also refer to the item, koinobori.)
こいのぼりをたてる風習は中国の故事にちなんでおり、男子の立身出世を祈願している（鯉幟の項）。