The Sensex closed with a gain of 41 points at 13,466.The index moved between a high of 13,505 and low of 13,390. Bank scrips led the rally today with SBI logging gains of over 4%.