Rail Fence Cipher is a further development method of Caesar Cipher. In Caesar algorithm, the results derived from the ciphertext letters shifting each character in the plaintext. While in the Rail Fence, it is taken from the ciphertext block formation matrix diagonally. The level of security in this method has advantages than in the previous method. In this study, the research tries to encrypt and decrypt the message using the Rail Fence algorithm. The ciphertext is obtained by taking a certain set of characters in the line that has been determined earlier.