Minecraft wiki entry for Arrow, associated text: If the arrow has any custom potion effects (NBT tag CustomPotionEffects), all potion effects, including vanilla potion effects (NBT tag Potion) are removed 30 seconds after the arrow stops moving.