Gold nanoparticles of different sizes have been synthesized and surface-functionalized with selected RNA probes in order to develop a rapid, low-cost and sensitive method for detection of microRNA146a (miR146a). The strategy is based on the change of colour that can be observed visually after aggregation of the RNA modified-gold nanoparticles (AuNPs) in presence of miR146a. Experimental conditions have been carefully selected in order to obtain a good sensitivity that allows to perform visual detection of microRNA at the nM level, achieving a detection limit of 5nM. Good repeatability and selectivity versus other sequences that only differ from miR146a in 3 bases was achieved. miR146a has been described as one of the main microRNA involved in the immune response of bovine mastitis, being expressed in tissue, blood and milk samples. The method was successfully applied to the detection of miR146a in raw cow milk samples. The present scheme constitutes a rapid and low-cost alternative to perform highly sensitive detection of microRNA without the need of instrumentation and amplification steps for the early detection of bovine mastitis in the agrofood industry. Graphical abstract Schematic representation of the assay based on aggregation of RNA-modified gold nanoparticles (blue) in presence of microRNA146a generating a dark blue spot onto a solid support, versus a pink spot observed in absence of miR146a due to dispersed gold nanoparticles (red).