Tea has more caffeine than coffee before being brewed, but during the brewing process coffee generally retains more caffeine than tea.