The 77Se(n,¿) reaction is of importance for 77Se abundance during the slow neutron capture process in massive stars. We have performed a new measurement of the 77Se radiative neutron capture cross section at the Neutron Time-of-Flight facility at CERN. Resonance capture kernels were derived up to 51 keV and cross sections up to 200 keV. Maxwellian-averaged cross sections were calculated for stellar temperatures between kT=5keV and kT=100keV, with uncertainties between 4.2% and 5.7%. Our results lead to substantial decreases of 14% and 19% in 77Se abundances produced through the slow neutron capture process in selected stellar models of 15M¿ and 2M¿, respectively, compared to using previous recommendation of the cross section., This work was supported by the UK Science and Facilities Council (ST/M006085/1), the MSMT of the Czech Republic, the Charles University UNCE/SCI/013 project, the European Research Council ERC-2015-StG No. 677497, and by the funding agencies of the participating institutes. In line with the principles that apply to scientific publishing and the CERN policy in matters of scientific publications, the n_TOF Col- laboration recognizes the work of Y. Kopatch and V. Furman (JINR, Russia), who have contributed to the experiment used to obtain the results described in this paper., Article signat per 131 autors/es: N. V. Sosnin , C. Lederer-Woods, M. Krtiˇcka, R. Garg, M. Dietz, M. Bacak, M. Barbagallo, U. Battino, S. Cristallo, L. A. Damone, M. Diakaki, S. Heinitz, D. Macina, M. Mastromarco, F. Mingrone, A. St. J. Murphy, G. Tagliente, S. Valenta, D. Vescovi, O. Aberle, V. Alcayne, S. Amaducci, J. Andrzejewski, L. Audouin, V. Bécares, V. Babiano-Suarez, F. Beˇcváˇr, G. Bellia, E. Berthoumieux, J. Billowes, D. Bosnar, A. Brown, M. Busso, M. Caamaño, L. Caballero, F. Calviño, M. Calviani, D. Cano-Ott, A. Casanovas, F. Cerutti, Y. H. Chen, E. Chiaveri, N. Colonna, G. Cortés, M. A. Cortés-Giraldo, L. Cosentino, C. Domingo-Pardo, R. Dressler, E. Dupont, I. Durán, Z. Eleme, B. Fernández-Domínguez, A. Ferrari, P. Finocchiaro, K. Göbel, A. Gawlik-Rami˛ega, S. Gilardoni, T. Glodariu, I. F. Gonçalves, E. González-Romero, C. Guerrero, F. Gunsing, H. Harada, J. Heyse, D. G. Jenkins, E. Jericha, F. Käppeler, Y. Kadi, A. Kimura, N. Kivel, M. Kokkoris, D. Kurtulgil, I. Ladarescu, H. Leeb, J. Lerendegui-Marco, S. Lo Meo, S. J. Lonsdale, A. Manna, T. Martínez, A. Masi, C. Massimi, P. Mastinu, F. Matteucci, E. A. Maugeri, A. Mazzone, E. Mendoza, A. Mengoni, V. Michalopoulou, P. M. Milazzo, A. Musumarra, A. Negret, R. Nolte, F. Ogállar, A. Oprea, N. Patronis, A. Pavlik, J. Perkowski, L. Piersanti, I. Porras, J. Praena, J. M. Quesada, D. Radeck, D. Ramos-Doval, T. Rauscher, R. Reifarth, D. Rochman, C. Rubbia, M. Sabaté-Gilarte, A. Saxena, P. Schillebeeckx, D. Schumann, A. G. Smith, A. Stamatopoulos, J. L. Tain, T. Talip, A. Tarifeño-Saldivia, L. Tassan-Got, P. Torres-Sánchez, A. Tsinganis, J. Ulrich, S. Urlass, G. Vannini, V. Variale, P. Vaz, A. Ventura, V. Vlachoudis, R. Vlastou, A. Wallner, P. J. Woods,T. Wright, and P. Žugec., Postprint (published version)