|Abstract||Recent work on multiantenna spectrum sensing in cognitive radio (CR) networks has been based on generalized likelihood ratio test (GLRT) detectors, which lack the ability to learn from past decisions and to adapt to the continuously changing environment. To overcome this limitation, in this paper we propose a Bayesian detector capable of learning in an efficient way the posterior distributions under both hypotheses. Our Bayesian model places priors directly on the spatial covariance matrices under both hypotheses, as well as on the probability of channel occupancy. Specifically, we use inverse-gamma and complex inverse-Wishart distributions as conjugate priors for the null and alternative hypothesis, respectively; and a binomial distribution as the prior for channel occupancy. At each sensing period, Bayesian inference is applied and the posterior for the channel occupancy is thresholded for detection. After a suitable approximation, the posteriors are employed as priors for the next sensing frame, which forms the basis of the proposed Bayesian learning procedure. The performance of the Bayesian detector is evaluated by simulations and by means of a CR testbed composed of universal radio peripheral (USRP) nodes. Both the simulations and experimental measurements show that the Bayesian detector outperforms the GLRT in a variety of scenarios.