In this review, we show the different approaches developed so far to prepare metal-organic frameworks (MOFs) presenting electronic functionalities, with particular attention to magnetic properties. We will cover the chemical design of frameworks necessary for the incorporation of different magnetic phenomena, as well as the encapsulation of functional species in their pores leading to hybrid multifunctional MOFs combining an extended lattice with a molecular lattice.