Among (semi)leptonic rare B-decays induced by the b→d flavor changing neutral current, the decay B+→π+μ+μ− is the only one observed so far experimentally. Related decays involving the e+e− and τ+τ− pairs are the targets for the ongoing experiments at the LHC, in particular LHCb, and Belle II. The muonic and electronic semileptonic decays have almost identical branching fractions in the Standard Model (SM). However, the tauonic decay B+→π+τ+τ− differs from the other two due to the higher reaction threshold which lies slightly below the ψ(2S)-resonance. We present calculations of the ditauon (τ+τ−) invariant-mass distribution and the branching fraction Br(B+→π+τ+τ−) in the SM based on the Effective Electroweak Hamiltonian approach, taking into account also the so-called long-distance contributions. The largest theoretical uncertainty in the short-distance part of the decay rates is due to the B→π form factors, which we quantify using three popular parametrizations. The long-distance contribution can be minimized by a cut on the ditauon mass mτ+τ−>Mψ(2S). Once available, the branching fractions in the tauonic and muonic (and electronic) modes provide stringent test of the lepton flavor universality in the b→d transitions. We illustrate this by calculating the ratio Rπ(τ/μ)≡Br(B+→π+τ+τ−)/Br(B+→π+μ+μ−) in the SM for the total and binned ratios of the branching fractions.