The inclusive production cross sections at forward rapidity of J/ψ , ψ(2S) , Υ (1S) and Υ (2S) are measured in pp collisions at s√=7 TeV with the ALICE detector at the LHC. The analysis is based on a data sample corresponding to an integrated luminosity of 1.35 pb −1 . Quarkonia are reconstructed in the dimuon-decay channel and the signal yields are evaluated by fitting the μ+μ− invariant mass distributions. The differential production cross sections are measured as a function of the transverse momentum pT and rapidity y , over the ranges 0