Born in Stignano in the province of Reggio di Calabria in Calabria, southern Italy, Campanella was a child prodigy. Son of a poor and illiterate cobbler, he entered the Dominican Order before the age of fourteen, taking the name of fra' Tommaso in honour of Thomas Aquinas. He studied theology and philosophy with several masters. Early on, he became disenchanted with the Aristotelian orthodoxy and attracted by the empiricism of Bernardino Telesio, who taught that knowledge is sensation and that all things in nature possess sensation. Campanella wrote his first work, Philosophia sensibus demonstrata, published in 1592, in defence of Telesio. In 1590 he was in Naples where he was initiated in astrology; astrological speculations would become a constant feature in his writings. Campanella's heterodox views, especially his opposition to the authority of Aristotle, brought him into conflict with the ecclesiastical authorities. Denounced to the Inquisition, he was arrested in Padua in 1594 and cited before the Holy Office in Rome, he was confined in a convent until 1597. After his liberation, Campanella returned to Calabria, where he was accused of leading a conspiracy against the Spanish rule in his hometown of Stilo. Campanella's aim was to establish a society based on the community of goods and wives, for on the basis of the prophecies of Joachim of Fiore and his own astrological observations, he foresaw the advent of the Age of the Spirit in the year 1600. Betrayed by two of his fellow conspirators, he was captured and incarcerated in Naples, where he was tortured on the rack. Even from the confinement of the jail, Campanella managed to influence the intellectual history of the early seventeenth century, by maintaining epistolary contacts with European philosophers and scientists, Neapolitan cultural circles, and Caravaggio's commissioners. Finally, Campanella made a full confession and would have been put to death if he had not feigned madness and set his cell on fire. He was tortured further and then, crippled and ill, was sentenced to life imprisonment. Campanella spent twenty-seven years imprisoned in Naples, in various fortresses. During his detention, he wrote his most important works: The Monarchy of Spain, Political Aphorisms, Atheismus triumphatus, Quod reminiscetur, Metaphysica, Theologia, and his most famous work, The City of the Sun and later in Paris. He defended Galileo Galilei in his first trial with his work The Defense of Galileo. During the time before his second trial, 25 September, 1632, Campanella wrote to Galileo that:
To my great disgust I have heard that wrathful theologians of the Congregation aim to prohibit the Dialogues of Your Excellency, and no one will be present who understands mathematics or recondite things. Be aware that while Your Excellency does state that it was appropriate to prohibit the theory of the earth's motion, you are not obliged to believe that the reasons of those who contradicted you are good. This is a theological rule, and is proved by the second Council of Nicaea which decreed that Angelorum imagines depingi debent, quam‘am vere corporei sunt : while the decree is valid, the reasoning behind it is not, since all scholars today say angels are incorporeal. There are many other fundamental reasons. I fear violence from people who do not understand this. Our Pope makes a lot of noise against this and speaks as the Pope, but you haven't heard about that, nor can think about it. In my opinion Your Excellency should write to the Grand Duke of Tuscany, that since they are putting Dominicans, Jesuits, Theatines, and secular priests who are against your books in this council, they should also admit Father Castelli and me.
Campanella was finally released from prison in 1626, through Pope Urban VIII, who personally interceded on his behalf with Philip IV of Spain. Taken to Rome and held for a time by the Holy Office, Campanella was restored to full liberty in 1629. He lived for five years in Rome, where he was Urban's advisor in astrological matters. In 1634, however, a new conspiracy in Calabria, led by one of his followers, threatened fresh troubles. With the aid of Cardinal Barberini and the French Ambassador de Noailles, he fled to France, where he was received at the court of Louis XIII with marked favour. Protected by Cardinal Richelieu and granted a liberal pension by the king, he spent the rest of his days in the convent of Saint-Honoré in Paris. His last work was a poem celebrating the birth of the future Louis XIV. Campanella's De sensu rerum et magia partly inspired the first fully-fledged it-narrative in English, Charles Gildon's The Golden Spy.