A 13-year-old student was arrested Tuesday evening in Martin County after posting a written threat on social media.