structural:summarization, information:filtering
Early Middle Ages

The unnamed "sinful woman" in Luke 7:36–50 is never identified as a prostitute and, in Jewish society at the time the gospel was written, "sinful" could have simply meant that she "did not assiduously observe the law of Moses ". The notion of Mary Magdalene specifically being a former prostitute or loose woman dates to a narrative in an influential homily by Pope Gregory I ("Gregory the Great") in around 591, in which he not only identifies Magdalene with the anonymous sinner with the perfume in Luke's gospel and with Mary of Bethany, the sister of Martha and Lazarus, but also, for the first time, explicitly identifies her sins as ones of a sexual nature:

She whom Luke calls the sinful woman, whom John calls Mary, we believe to be the Mary from whom seven devils were ejected according to Mark. What did these seven devils signify, if not all the vices? It is clear, that the woman previously used the unguent to perfume her flesh in forbidden acts. What she therefore displayed more scandalously, she was now offering to God in a more praiseworthy manner. She had coveted with earthly eyes, but now through penitence these are consumed with tears. She displayed her hair to set off her face, but now her hair dries her tears. She had spoken proud things with her mouth, but in kissing the Lord's feet, she now planted her mouth on the Redeemer's feet. For every delight, therefore, she had had in herself, she now immolated herself. She turned the mass of her crimes to virtues, in order to serve God entirely in penance.

In Pope Gregory's interpretation, the seven demons expelled from Mary Magdalene by Jesus are transformed into the seven deadly sins of medieval Catholicism, leading Mary "to be condemned not only for lust, but for pride and covetousness as well." The aspect of the repentant sinner became almost equally significant as the disciple in her persona as depicted in Western art and religious literature, fitting well with the great importance of penitence in medieval theology. In subsequent religious legend, Mary's story became conflated with that of Mary of Egypt, a repentant prostitute who then lived as a hermit. With that, Mary's image was, according to Susan Haskins, author of Mary Magdalene: Myth and Metaphor, "finally settled...for nearly fourteen hundred years," although in fact the most important late medieval popular accounts of her life describe her as a rich woman whose life of sexual freedom is purely for pleasure. This composite depiction of Mary Magdalene was carried into the Mass texts for her feast day: in the Tridentine Mass, the collect explicitly identifies her as Mary of Bethany by describing Lazarus as her brother, and the Gospel is the story of the penitent woman anointing Jesus's feet.

The "composite Magdalene" was never accepted by the Eastern Orthodox churches, who saw only Mary the disciple, and believed that after the Resurrection she lived as a companion to Mary the mother of Jesus, and not even in the West was it universally accepted. The Benedictine Order always celebrated Mary of Bethany together with Martha and Lazarus of Bethany on July 29, while Mary Magdalene was celebrated on July 22. Not only John Chrysostom in the East (Matthew, Homily 88), but also Ambrose (De virginitate 3,14; 4,15) in the West, when speaking of Mary Magdalene after the resurrection of Jesus Christ, far from calling her a harlot, suggest she was a virgin. Starting in around the eighth century, Christian sources record mention of a church in Magdala purported to have been built on the site of Mary Magdalene's house, where Jesus exorcized her of the seven demons.

In an eastern tradition supported by the western bishop and historian Gregory of Tours (c. 538 – 594), Mary Magdalene is said to have retired to Ephesus in Asia Minor with Mary the mother of Jesus, where they both lived out the rest of their lives. Gregory states that Mary Magdalene was buried in the city of Ephesus. Modestus, the Patriarch of Jerusalem from 630 until 634, describes a slightly different tradition that Mary Magdalene had come to Ephesus to live with the apostle John following the death of Mary the mother of Jesus.