A polarization-sensitive and flexible photodetector was fabricated through the precise alignment of perovskite nanowires (NWs) using a brush coating technique. The alignment of the NWs was meticulously examined, considering various chemical properties of the solvent, such as boiling point, viscosity, and surface tension. Notably, when the NWs were brush-coated with toluene dispersion, the NWs were aligned in higher order than those processed from octane dispersion. The degree of alignment was correlated with the photodetector property. Especially, the well-aligned NW photodetector exhibited a two-fold disparity in current response contingent on the polarization direction. Furthermore, even after enduring 500 bending cycles, the device retained 80 % of its photodetector performance. This approach underscores the potential of solution-processed flexible photodetectors for advanced optical applications under dynamic operating conditions.